browserstack-node-sdk 1.43.0 → 1.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages_pb.d.ts +70 -0
- package/generated/sdk-messages_pb.js +550 -0
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +33 -0
- package/package.json +7 -2
- 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/apiUtilityMethods.js +1 -0
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -0
- 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/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a10_0x154cb8=a10_0x4f56;(function(_0x2104e9,_0x3883af){const _0x4681ae=a10_0x4f56,_0x936da8=_0x2104e9();while(!![]){try{const _0x240904=-parseInt(_0x4681ae(0x137))/0x1+parseInt(_0x4681ae(0xcc))/0x2+parseInt(_0x4681ae(0x136))/0x3*(parseInt(_0x4681ae(0xa0))/0x4)+-parseInt(_0x4681ae(0x124))/0x5+parseInt(_0x4681ae(0xc3))/0x6+-parseInt(_0x4681ae(0x118))/0x7+parseInt(_0x4681ae(0xa1))/0x8;if(_0x240904===_0x3883af)break;else _0x936da8['push'](_0x936da8['shift']());}catch(_0x599794){_0x936da8['push'](_0x936da8['shift']());}}}(a10_0x5ebc,0x71379));const path=require(a10_0x154cb8(0x9c)),util=require(a10_0x154cb8(0x10b)),hooksMap={},SessionHandler=require(a10_0x154cb8(0xd5)),testhubUtils=require(a10_0x154cb8(0xe6)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a10_0x154cb8(0x101)),logger=require(a10_0x154cb8(0xa7))[a10_0x154cb8(0xdd)],{o11yClassErrorHandler}=require(a10_0x154cb8(0x107)),{FRAMEWORKS}=require('../../helpers/test-observability/constants.js'),TestDetails=require(a10_0x154cb8(0xe7));this['_gitConfigured']=![],this[a10_0x154cb8(0x125)]=null;function a10_0x5ebc(){const _0x3f056c=['testCaseFinished','UnhandledError','../../helpers/test-observability/sessionHandler','uri','join','cucumber','xWgZx','jlaSx','FAILED','CxtQb','winstonLogger','fdCrY','hhngm','OVSig','TJzAh','failure_type','message','DYudN','hookId','../../helpers/testhub/utils','../playwright/reporter/test-details','zpgvM','RiPvT','every','testCaseStartedId','find','hYIUd','nanos','feature','getHookResult','cells','javascript','ZHhfG','tZLZc','tzSnF','iUzgR','failure_reason','getTestUUID','backtrace','QGrnf','TgQTf','Qjjni','Exception\x20in\x20sendHook:\x20','jKXKP','hook','unknown','../../helpers/helper','failureType','result','eUOMK','hooks','astNodeIds','../../helpers/test-observability/error-handler','tagExpression','tags','CUCUMBER','util','format','filter','toLowerCase','Exception\x20in\x20getHookRunEventData:\x20','BaKQS','LNpfK','ISghp','CRYKV','SKIPPED','status','oREri','configureGit','4557189IscsRW','updateTestStatus','pihik','examples','pickleStepId','rule','failure_data','REaCk','getScenarioExamples','sourceReference','map','failed','760645qLNEAr','_gitConfigPath','name','duration_in_ms','toString','uploadEventData','sendHook','testStepResult','strip-ansi','test_run','rYxrp','tableBody','GHbLi','split','pending','AFTER_EACH','flatMap','event_type','6ovrWoP','476284xhwwuA','appendTesthubParams','test','iUenW','gOWlF','path','value','uDWne','CrPbO','1563932USLwml','3349312igGCKA','BEFORE_EACH','1|2|3|0|4','tYQeq','sendTestRunEventForCucumber','length','../../helpers/logger','JJKRo','failureData','children','AwGjr','match','grQzG','TXyJx','finished_at','ZJbct','wSNSk','debug','root','_gitConfigured','exception','getHooksListForTest','Vsgll','getHookRunEventData','yDaWM','XNNcq','wlWho','HFpuj','forEach','HookRunFinished','xvlbs','push','scenario','sLYsq','2494056pGjqoI','kxtIy','AssertionError','testStepFinished','roEjr','failure','odnIf','passed','getCucumberHookType','253742SIPyNf','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','exports','uuid','relative','includes','toISOString'];a10_0x5ebc=function(){return _0x3f056c;};return a10_0x5ebc();}function a10_0x4f56(_0x43760e,_0x33b206){const _0x5ebc62=a10_0x5ebc();return a10_0x4f56=function(_0x4f568c,_0x193255){_0x4f568c=_0x4f568c-0x9b;let _0x1f29a9=_0x5ebc62[_0x4f568c];return _0x1f29a9;},a10_0x4f56(_0x43760e,_0x33b206);}class TestObservabilityReporter{async['sendTestRunEventForCucumber'](_0x172008,_0x13e4a0,_0x1be914,_0x6e81b1,_0xe88c09){const _0x40b50f=a10_0x154cb8,_0x48485d={'hYIUd':function(_0x4c5de5,_0x28c8ba){return _0x4c5de5===_0x28c8ba;},'VfcaQ':_0x40b50f(0xdb),'HFpuj':'failed','DYudN':function(_0xb03c8e,_0x3b9234){return _0xb03c8e===_0x3b9234;},'tYQeq':_0x40b50f(0x114),'CrPbO':'skipped','eUOMK':function(_0x1c9120,_0x36e724){return _0x1c9120||_0x36e724;},'iUenW':function(_0x2ba0e0,_0x5d49a4){return _0x2ba0e0+_0x5d49a4;},'CRYKV':_0x40b50f(0x139),'jlaSx':_0x40b50f(0xf2),'wSNSk':_0x40b50f(0xd8),'xFHGu':'pending','AwGjr':_0x40b50f(0xca),'OVSig':function(_0x1e152a,_0x10e3cf){return _0x1e152a!==_0x10e3cf;},'CxtQb':function(_0x2f6589,_0x11a34e){return _0x2f6589/_0x11a34e;},'XNNcq':_0x40b50f(0x12c),'wlWho':function(_0x2fd453,_0x176b5c){return _0x2fd453(_0x176b5c);},'MrHPg':_0x40b50f(0x100),'ZHhfG':'AssertionError','GHbLi':_0x40b50f(0xd4),'roEjr':'TestRunFinished','BjHWv':function(_0x5dd219,_0xb737ea){return _0x5dd219>_0xb737ea;}},{feature:_0x155267,scenario:_0x2782bc,steps:_0x5727ec,uuid:_0x2e7e1e,startedAt:_0x42194a,finishedAt:_0x41c7a1}=_0x48485d[_0x40b50f(0x104)](_0xe88c09,{}),_0x198add=this[_0x40b50f(0x120)](_0x13e4a0,_0x1be914);await this[_0x40b50f(0x117)]();const _0x1ed671=_0x198add?_0x48485d[_0x40b50f(0x13a)](_0x48485d[_0x40b50f(0x13a)](_0x48485d[_0x40b50f(0x13a)](_0x1be914['name'],'\x20('),_0x198add[_0x40b50f(0xd7)](',\x20')),')'):_0x1be914[_0x40b50f(0x126)],_0x2f4a82={'uuid':_0x2e7e1e,'started_at':_0x42194a,'finished_at':_0x41c7a1,'type':_0x48485d[_0x40b50f(0x113)],'body':{'lang':_0x48485d[_0x40b50f(0xda)],'code':null},'name':_0x1ed671,'scopes':[_0x155267&&_0x155267[_0x40b50f(0x126)]?_0x155267['name']:''],'tags':_0x1be914[_0x40b50f(0x109)]?_0x1be914[_0x40b50f(0x109)][_0x40b50f(0x122)](({name:_0x3a0cf7})=>_0x3a0cf7):[],'file_name':_0x1be914[_0x40b50f(0xd6)],'location':_0x1be914[_0x40b50f(0xd6)],'vc_filepath':this[_0x40b50f(0x125)]&&_0x1be914[_0x40b50f(0xd6)]?path['relative'](this[_0x40b50f(0x125)],_0x1be914[_0x40b50f(0xd6)]):null,'framework':_0x48485d[_0x40b50f(0xb1)],'result':_0x48485d['xFHGu'],'meta':{'feature':_0x155267,'scenario':_0x2782bc,'steps':_0x5727ec,'examples':_0x198add},'customRerunParam':{'rerun_name':_0x1ed671}};if(_0x172008[_0x40b50f(0xd3)]&&_0x5727ec){const _0x495267=_0x172008[_0x40b50f(0xd3)];let _0x234687=_0x48485d[_0x40b50f(0xab)];_0x5727ec[_0x40b50f(0xea)](_0xfb96cc=>{const _0x3e1a84=_0x40b50f;if(_0x48485d[_0x3e1a84(0xed)](_0xfb96cc['result'],_0x48485d['VfcaQ']))return _0x234687=_0x48485d[_0x3e1a84(0xbc)],_0x495267['failure']=_0xfb96cc[_0x3e1a84(0xc8)],_0x495267[_0x3e1a84(0x102)]=_0xfb96cc[_0x3e1a84(0x102)],![];else{if(_0x48485d[_0x3e1a84(0xe4)](_0xfb96cc[_0x3e1a84(0x103)],_0x48485d[_0x3e1a84(0xa4)]))return _0x234687=_0x48485d[_0x3e1a84(0x9f)],![];}return!![];}),_0x2f4a82['finished_at']=new Date()[_0x40b50f(0xd2)](),_0x2f4a82['result']=_0x234687;_0x495267['timestamp']&&_0x48485d[_0x40b50f(0xe0)](_0x495267['timestamp']['nanos'],undefined)?_0x2f4a82['duration_in_ms']=_0x48485d[_0x40b50f(0xdc)](_0x495267['timestamp'][_0x40b50f(0xee)],0xf4240):_0x2f4a82[_0x40b50f(0x127)]=undefined;if(_0x48485d[_0x40b50f(0xe4)](_0x234687,_0x48485d[_0x40b50f(0xbc)])){const {default:_0x1734f7}=await import(_0x48485d[_0x40b50f(0xba)]);_0x2f4a82[_0x40b50f(0xc8)]=[{'backtrace':[_0x495267[_0x40b50f(0xc8)]?_0x48485d[_0x40b50f(0xbb)](_0x1734f7,_0x495267[_0x40b50f(0xc8)]):_0x48485d['MrHPg']]}],_0x2f4a82[_0x40b50f(0xf7)]=_0x495267[_0x40b50f(0xc8)]?_0x48485d[_0x40b50f(0xbb)](_0x1734f7,_0x495267['failure']):_0x495267[_0x40b50f(0xe3)],_0x495267['failureType']&&(_0x2f4a82[_0x40b50f(0xe2)]=_0x495267[_0x40b50f(0x102)][_0x40b50f(0xac)](/AssertError/)?_0x48485d[_0x40b50f(0xf3)]:_0x48485d[_0x40b50f(0x130)]);}}if(_0x48485d[_0x40b50f(0xe4)](_0x6e81b1,_0x48485d[_0x40b50f(0xc7)])){const _0x4a9a83=this[_0x40b50f(0xb6)](_0x172008[_0x40b50f(0xd3)][_0x40b50f(0xeb)]);_0x4a9a83&&_0x48485d['BjHWv'](_0x4a9a83['length'],0x0)&&(_0x2f4a82['hooks']=_0x4a9a83,this[_0x40b50f(0x119)](_0x172008['testCaseFinished'][_0x40b50f(0xeb)],_0x2f4a82));}testhubUtils[_0x40b50f(0x138)](_0x2f4a82,_0x6e81b1,'',FRAMEWORKS[_0x40b50f(0x10a)]);const _0x3eb25d={};_0x3eb25d[_0x40b50f(0x135)]=_0x6e81b1,_0x3eb25d[_0x40b50f(0x12d)]=_0x2f4a82;const _0x4fb7ca=_0x3eb25d;await SessionHandler[_0x40b50f(0x129)](_0x4fb7ca);}['updateTestStatus'](_0x962909,_0x44cd08){const _0x2cbb=a10_0x154cb8,_0x3bd538={};_0x3bd538[_0x2cbb(0x111)]=function(_0x460a06,_0x5eb198){return _0x460a06 instanceof _0x5eb198;},_0x3bd538['BaKQS']=function(_0x5d57c8,_0x2adee1){return _0x5d57c8===_0x2adee1;},_0x3bd538[_0x2cbb(0xd9)]=_0x2cbb(0x123),_0x3bd538[_0x2cbb(0xdf)]=_0x2cbb(0xa3);const _0x1c5ad5=_0x3bd538,_0x5270da=hooksMap[_0x962909];if(_0x1c5ad5[_0x2cbb(0x111)](_0x5270da,Array))for(const _0x3bc3a1 of _0x5270da){if(_0x1c5ad5[_0x2cbb(0x110)](_0x3bc3a1[_0x2cbb(0x103)],_0x1c5ad5[_0x2cbb(0xd9)])){const _0x186c47=_0x1c5ad5[_0x2cbb(0xdf)][_0x2cbb(0x131)]('|');let _0x1d7c65=0x0;while(!![]){switch(_0x186c47[_0x1d7c65++]){case'0':_0x44cd08[_0x2cbb(0xe2)]=_0x3bc3a1['failure_type'];continue;case'1':_0x44cd08[_0x2cbb(0x103)]=_0x3bc3a1[_0x2cbb(0x103)];continue;case'2':_0x44cd08[_0x2cbb(0xc8)]=_0x3bc3a1[_0x2cbb(0x11e)];continue;case'3':_0x44cd08['failure_reason']=_0x1c5ad5[_0x2cbb(0x111)](_0x3bc3a1['failure_data'],Array)?_0x3bc3a1['failure_data'][0x0]['backtrace']['join']('\x0a'):'';continue;case'4':return _0x44cd08;}break;}}};}['getHooksListForTest'](_0x176b7f){const _0x3369b2=a10_0x154cb8;if(hooksMap[_0x176b7f])return hooksMap[_0x176b7f][_0x3369b2(0x122)](_0x3285b0=>_0x3285b0['uuid']);return[];}[a10_0x154cb8(0xb8)](_0x365cf1,_0x4c8112,_0x2253c3,_0x483310,_0x1ea35e,_0x43b763){const _0x505732=a10_0x154cb8,_0x12c571={'UiDNR':function(_0x2665a2,_0x337edb){return _0x2665a2===_0x337edb;},'Vsgll':_0x505732(0xbe),'sLYsq':function(_0x48e9ff,_0x32f7fc,_0x452a92){return _0x48e9ff(_0x32f7fc,_0x452a92);},'iUzgR':_0x505732(0x121),'RiPvT':_0x505732(0xd6),'yDaWM':_0x505732(0x132),'tZLZc':_0x505732(0xff),'glghI':_0x505732(0xf2),'fdCrY':function(_0x4a6f45,_0x14f0d8,_0x552fe5){return _0x4a6f45(_0x14f0d8,_0x552fe5);},'kxtIy':_0x505732(0xef),'TJzAh':_0x505732(0x126),'REaCk':_0x505732(0xd8)};try{if(_0x12c571['UiDNR'](_0x2253c3,_0x12c571[_0x505732(0xb7)])){const _0x50c092=new Date()['toISOString'](),_0x5d9d85=hooksMap[_0x4c8112];if(!_0x5d9d85)return;const _0x35425a=_0x5d9d85['find'](_0x27a1d5=>_0x27a1d5[_0x505732(0xcf)]===_0x483310['id']);if(!_0x35425a)return;const _0x38a0c1=this[_0x505732(0xf0)](_0x365cf1,_0x4c8112);_0x35425a[_0x505732(0x103)]=_0x38a0c1[_0x505732(0x115)],_0x35425a[_0x505732(0xaf)]=_0x50c092,_0x35425a[_0x505732(0xe2)]=_0x38a0c1[_0x505732(0x102)];const _0x5431b7={};return _0x5431b7[_0x505732(0xf9)]=_0x38a0c1[_0x505732(0xa9)],_0x35425a['failure_data']=[_0x5431b7],_0x35425a;}const _0x12d439=TestDetails[_0x505732(0xf8)](_0x4c8112),_0x50acb3=_0x365cf1[_0x505732(0x105)][_0x505732(0xec)](_0x44c4dc=>_0x44c4dc['id']===_0x483310[_0x505732(0xe5)]),_0x8e1b80=_0x12c571[_0x505732(0xc2)](nestedKeyValue,_0x50acb3,[_0x12c571[_0x505732(0xf6)],_0x12c571[_0x505732(0xe9)]]),_0x446e81=new Date()[_0x505732(0xd2)](),_0x41650a=_0x12c571[_0x505732(0xb9)],_0x46d743=_0x50acb3[_0x505732(0x108)]?_0x50acb3[_0x505732(0x108)][_0x505732(0x131)]('\x20')[_0x505732(0x10d)](_0xe2fc06=>_0xe2fc06[_0x505732(0xd1)]('@')):[],_0x2c31e4={'uuid':_0x483310['id'],'type':_0x12c571[_0x505732(0xf4)],'hook_type':_0x43b763,'name':_0x50acb3[_0x505732(0x126)],'body':{'lang':_0x12c571['glghI'],'code':null},'tags':_0x46d743,'test_run_id':_0x12d439,'scope':_0x12c571[_0x505732(0xde)](nestedKeyValue,_0x1ea35e,[_0x12c571['kxtIy'],_0x12c571[_0x505732(0xe1)]]),'scopes':[_0x12c571[_0x505732(0xde)](nestedKeyValue,_0x1ea35e,[_0x12c571[_0x505732(0xc4)],_0x12c571[_0x505732(0xe1)]])||''],'file_name':_0x8e1b80,'location':_0x8e1b80,'vc_filepath':this[_0x505732(0x125)]?path[_0x505732(0xd0)](this['_gitConfigPath'],_0x8e1b80):null,'result':_0x41650a,'started_at':_0x446e81,'framework':_0x12c571[_0x505732(0x11f)]};return _0x2c31e4;}catch(_0x3d4df3){logger[_0x505732(0xb2)](_0x505732(0x10f)+util[_0x505732(0x10c)](_0x3d4df3)+'\x20');}}async[a10_0x154cb8(0x12a)](_0x1c8aea,_0x150cc0,_0x9d2263,_0xe53441,_0x1653a9,_0x4fcbc5){const _0x3083d3=a10_0x154cb8,_0x7c86a9={'oREri':function(_0x589f69,_0x3fa285){return _0x589f69===_0x3fa285;},'tzSnF':'HookRunStarted','jKXKP':function(_0x2afad5,_0x476815,_0x559634){return _0x2afad5(_0x476815,_0x559634);},'pihik':_0x3083d3(0x121),'ZJbct':_0x3083d3(0xd6),'TXyJx':_0x3083d3(0xcd)};try{const _0x53298e=_0xe53441[_0x3083d3(0xec)](_0x3966bb=>_0x3966bb['id']===_0x1653a9);if(!_0x53298e[_0x3083d3(0xe5)])return;const _0xc7c042=this[_0x3083d3(0xcb)](_0xe53441,_0x53298e),_0x5e6438=this[_0x3083d3(0xb8)](_0x1c8aea,_0x150cc0,_0x9d2263,_0x53298e,_0x4fcbc5,_0xc7c042);if(!_0x5e6438)return;_0x7c86a9[_0x3083d3(0x116)](_0x9d2263,_0x7c86a9[_0x3083d3(0xf5)])&&(hooksMap[_0x150cc0]?hooksMap[_0x150cc0][_0x3083d3(0xc0)](_0x5e6438):hooksMap[_0x150cc0]=[_0x5e6438]);const _0x2699ed=_0x1c8aea[_0x3083d3(0x105)][_0x3083d3(0xec)](_0x6c90ef=>_0x6c90ef['id']===_0x53298e[_0x3083d3(0xe5)]),_0x25959e=_0x7c86a9[_0x3083d3(0xfe)](nestedKeyValue,_0x2699ed,[_0x7c86a9[_0x3083d3(0x11a)],_0x7c86a9[_0x3083d3(0xb0)]]);if(!_0x25959e)return;else{if(_0x25959e[_0x3083d3(0xd1)](_0x7c86a9[_0x3083d3(0xae)]))return;}const _0x4e2226={};_0x4e2226[_0x3083d3(0x135)]=_0x9d2263,_0x4e2226['hook_run']=_0x5e6438;const _0x4961ed=_0x4e2226;await SessionHandler[_0x3083d3(0x129)](_0x4961ed);}catch(_0x5d2704){logger['debug'](_0x3083d3(0xfd)+util[_0x3083d3(0x10c)](_0x5d2704)+'\x20');}}[a10_0x154cb8(0xf0)](_0x5a704a,_0xb53e06){const _0x194a83=a10_0x154cb8,_0x49eea3={};_0x49eea3[_0x194a83(0x112)]=function(_0x1d8392,_0x31e1d2){return _0x1d8392===_0x31e1d2;},_0x49eea3[_0x194a83(0xe8)]='failed',_0x49eea3[_0x194a83(0xbf)]=function(_0x416926,_0x3a7eb5){return _0x416926===_0x3a7eb5;},_0x49eea3['rYxrp']=function(_0x32fb43,_0x2483dc){return _0x32fb43===_0x2483dc;},_0x49eea3[_0x194a83(0xfc)]=_0x194a83(0xd4),_0x49eea3[_0x194a83(0xfb)]=_0x194a83(0xc5),_0x49eea3[_0x194a83(0x9b)]=function(_0x3188f6,_0x4d476d){return _0x3188f6||_0x4d476d;};const _0x212d41=_0x49eea3,_0x47452e=_0x5a704a[_0x194a83(0xc6)][_0xb53e06][_0x194a83(0x12b)];let _0x3fe81b,_0x16c55b;return _0x47452e&&_0x212d41['ISghp'](_0x47452e[_0x194a83(0x115)][_0x194a83(0x128)]()[_0x194a83(0x10e)](),_0x212d41[_0x194a83(0xe8)])&&(_0x3fe81b=_0x212d41[_0x194a83(0xbf)](_0x47452e[_0x194a83(0xb5)],undefined)?_0x47452e[_0x194a83(0xe3)]:_0x47452e[_0x194a83(0xb5)]['message'],_0x16c55b=_0x212d41[_0x194a83(0x12e)](_0x47452e[_0x194a83(0xb5)],undefined)?_0x212d41['Qjjni']:_0x47452e[_0x194a83(0xe3)][_0x194a83(0xac)](/Assert/)?_0x212d41[_0x194a83(0xfb)]:_0x212d41['Qjjni']),{'status':_0x47452e['status']['toLowerCase'](),'failureType':_0x212d41[_0x194a83(0x9b)](_0x16c55b,null),'failureData':!_0x3fe81b?null:[_0x3fe81b]};}[a10_0x154cb8(0xcb)](_0x4bbc6c,_0x1b6e69){const _0x5547a3=a10_0x154cb8,_0x1b5af0={};_0x1b5af0[_0x5547a3(0xad)]=function(_0x25d905,_0x4112db){return _0x25d905===_0x4112db;},_0x1b5af0['uDWne']=_0x5547a3(0x133),_0x1b5af0['odnIf']=_0x5547a3(0xa2);const _0x876c8f=_0x1b5af0;let _0x45d93e=![];for(const _0x393144 of _0x4bbc6c){_0x393144[_0x5547a3(0x11c)]&&(_0x45d93e=!![]);if(_0x876c8f[_0x5547a3(0xad)](_0x1b6e69['id'],_0x393144['id']))return _0x45d93e?_0x876c8f[_0x5547a3(0x9e)]:_0x876c8f[_0x5547a3(0xc9)];}}[a10_0x154cb8(0x120)]=(_0x4ed6bc,_0x410782)=>{const _0x5ed6c4=a10_0x154cb8,_0x400db2={};_0x400db2[_0x5ed6c4(0xfa)]=function(_0x47d218,_0xc3c74c){return _0x47d218===_0xc3c74c;},_0x400db2[_0x5ed6c4(0xa8)]=function(_0x2b4c84,_0x232734){return _0x2b4c84===_0x232734;},_0x400db2['HSkQB']=function(_0x560b52,_0xad20e5){return _0x560b52>_0xad20e5;};const _0x90ce92=_0x400db2;if(!(_0x410782[_0x5ed6c4(0x106)]&&_0x90ce92['HSkQB'](_0x410782[_0x5ed6c4(0x106)]['length'],0x1)))return;const _0x55366a=_0x410782[_0x5ed6c4(0x106)][0x0],_0x12c21a=_0x410782[_0x5ed6c4(0x106)][0x1],_0x52e637=_0x4ed6bc[_0x5ed6c4(0xef)]&&_0x4ed6bc[_0x5ed6c4(0xef)]['children']?_0x4ed6bc[_0x5ed6c4(0xef)]['children']:undefined;let _0xc6e115=[];_0x52e637&&_0x52e637[_0x5ed6c4(0xbd)](_0x52fd0b=>{const _0x15f617=_0x5ed6c4;if(_0x52fd0b[_0x15f617(0x11d)])_0x52fd0b[_0x15f617(0x11d)][_0x15f617(0xaa)]['forEach'](_0x67cefc=>{const _0x239ccc=_0x15f617;if(_0x67cefc[_0x239ccc(0xc1)]&&_0x90ce92[_0x239ccc(0xfa)](_0x67cefc[_0x239ccc(0xc1)]['id'],_0x55366a)&&_0x67cefc[_0x239ccc(0xc1)]['examples']){const _0x7f5fa2=_0x67cefc['scenario'][_0x239ccc(0x11b)][_0x239ccc(0x134)](_0x49f575=>_0x49f575[_0x239ccc(0x12f)])['find'](_0x1f6400=>_0x1f6400['id']===_0x12c21a);let _0x382716;_0x7f5fa2&&_0x7f5fa2[_0x239ccc(0xf1)]?_0x382716=_0x7f5fa2['cells']['map'](_0x4a5cbf=>_0x4a5cbf['value']):_0x382716=[],_0x382716&&(_0xc6e115=_0x382716);}});else{if(_0x52fd0b[_0x15f617(0xc1)]&&_0x90ce92[_0x15f617(0xa8)](_0x52fd0b[_0x15f617(0xc1)]['id'],_0x55366a)&&_0x52fd0b['scenario']['examples']){const _0x4f4e30=_0x52fd0b['scenario'][_0x15f617(0x11b)][_0x15f617(0x134)](_0x50979a=>_0x50979a['tableBody'])[_0x15f617(0xec)](_0x146f65=>_0x146f65['id']===_0x12c21a);let _0x70c938;_0x4f4e30&&_0x4f4e30['cells']?_0x70c938=_0x4f4e30[_0x15f617(0xf1)][_0x15f617(0x122)](_0x4295f8=>_0x4295f8[_0x15f617(0x9d)]):_0x70c938=[],_0x70c938&&(_0xc6e115=_0x70c938);}}});if(_0xc6e115[_0x5ed6c4(0xa6)])return _0xc6e115;return;};async[a10_0x154cb8(0x117)](){const _0x2c5974=a10_0x154cb8,_0x453af2={'TcJkx':function(_0x24e6db){return _0x24e6db();}};if(this[_0x2c5974(0xb4)])return this['_gitConfigPath'];const _0x29ed4d=await _0x453af2['TcJkx'](getGitMetaData);_0x29ed4d&&(this[_0x2c5974(0x125)]=_0x29ed4d[_0x2c5974(0xb3)]),this[_0x2c5974(0xb4)]=!![];}}module[a10_0x154cb8(0xce)]=o11yClassErrorHandler(TestObservabilityReporter,[a10_0x154cb8(0x117),'getScenarioExamples',a10_0x154cb8(0xcb),a10_0x154cb8(0xf0),a10_0x154cb8(0x12a),a10_0x154cb8(0xb8),a10_0x154cb8(0xa5)]);
|
|
1
|
+
const a10_0x3c3f1c=a10_0x2ac8;(function(_0x552b6a,_0x6d6e4e){const _0x1eae42=a10_0x2ac8,_0xc148c7=_0x552b6a();while(!![]){try{const _0x560e4d=-parseInt(_0x1eae42(0x1e7))/0x1*(parseInt(_0x1eae42(0x1f6))/0x2)+parseInt(_0x1eae42(0x21a))/0x3+parseInt(_0x1eae42(0x264))/0x4+-parseInt(_0x1eae42(0x263))/0x5*(parseInt(_0x1eae42(0x226))/0x6)+-parseInt(_0x1eae42(0x242))/0x7*(parseInt(_0x1eae42(0x245))/0x8)+parseInt(_0x1eae42(0x1fc))/0x9+-parseInt(_0x1eae42(0x200))/0xa;if(_0x560e4d===_0x6d6e4e)break;else _0xc148c7['push'](_0xc148c7['shift']());}catch(_0x3e15e2){_0xc148c7['push'](_0xc148c7['shift']());}}}(a10_0x2cdb,0x64f14));function a10_0x2cdb(){const _0x168746=['zMIPG','ipzsd','includes','backtrace','vhLrh','CUCUMBER','relative','getHookRunEventData','hooks','NwrQu','forEach','6rlvhKa','exception','astNodeIds','weqVH','Raozz','jqNBU','CHnmU','testCaseFinished','scenario','../../helpers/test-observability/sessionHandler','uploadEventData','split','toISOString','../../helpers/testhub/utils','mDKKD','message','AssertionError','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','ecWhv','TestRunFinished','value','sendHook','getHooksListForTest','Wzymt','Bddat','SGOdx','tagExpression','Exception\x20in\x20getHookRunEventData:\x20','21aQAyxe','length','OvtBh','87888THekMS','sendTestRunEventForCucumber','finished_at','QgyGl','SKIPPED','FWCUM','eLzbM','debug','skipped','LOlJe','failureType','_gitConfigPath','oyLrO','4|1|0|3|2','../../helpers/test-observability/error-handler','every','DOIFi','failed','sourceReference','ciOhi','AFTER_EACH','../playwright/reporter/test-details','getScenarioExamples','ldLjG','JJsIh','rcumC','lYkOc','rule','getTestUUID','jaZmC','2090740OHhXRq','2143612wCrXoG','fvslw','flatMap','appendTesthubParams','osXJa','UnhandledError','eUOLn','mIHjf','hook','../../helpers/logger','filter','result','cells','name','hookId','failure','test','toString','getCucumberHookType','failure_reason','35445mbrnrv','toLowerCase','children','NTKzR','DlaFL','push','cucumber','updateTestStatus','testStepFinished','MqAOR','leOIA','timestamp','fZsut','getHookResult','configureGit','4VXXouA','unknown','tableBody','examples','RnDXg','match','1601118cpsuCP','pending','cxYij','zSLgp','2461600xEIwEh','strip-ansi','find','testCaseStartedId','_gitConfigured','uri','Exception\x20in\x20sendHook:\x20','feature','failure_type','root','aEODm','byXRN','LoOxN','drbCs','javascript','event_type','OVlef','status','HookRunStarted','failure_data','PnvtE','format','map','path','join','tags','1403433gdVxDA'];a10_0x2cdb=function(){return _0x168746;};return a10_0x2cdb();}function a10_0x2ac8(_0xbcb007,_0x458bd2){const _0x2cdbfb=a10_0x2cdb();return a10_0x2ac8=function(_0x2ac88d,_0x1a3451){_0x2ac88d=_0x2ac88d-0x1e1;let _0x16958f=_0x2cdbfb[_0x2ac88d];return _0x16958f;},a10_0x2ac8(_0xbcb007,_0x458bd2);}const path=require(a10_0x3c3f1c(0x217)),util=require('util'),hooksMap={},SessionHandler=require(a10_0x3c3f1c(0x22f)),testhubUtils=require(a10_0x3c3f1c(0x233)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a10_0x3c3f1c(0x26d))['winstonLogger'],{o11yClassErrorHandler}=require(a10_0x3c3f1c(0x253)),{FRAMEWORKS}=require('../../helpers/test-observability/constants.js'),TestDetails=require(a10_0x3c3f1c(0x25a));this[a10_0x3c3f1c(0x204)]=![],this[a10_0x3c3f1c(0x250)]=null;class TestObservabilityReporter{async[a10_0x3c3f1c(0x246)](_0x495dd8,_0x4377d6,_0x1abeb3,_0x3eeb2b,_0x5c1fb2){const _0x4b8765=a10_0x3c3f1c,_0x3053a1={'fvslw':function(_0x276c96,_0x40f324){return _0x276c96===_0x40f324;},'HnuZo':'FAILED','oyLrO':'failed','cxYij':_0x4b8765(0x249),'OvtBh':_0x4b8765(0x24d),'eDBrA':function(_0x15ff7b,_0x2f653c){return _0x15ff7b||_0x2f653c;},'RnDXg':function(_0x437520,_0x2c8f52){return _0x437520+_0x2c8f52;},'NwrQu':_0x4b8765(0x1e3),'Bddat':_0x4b8765(0x20e),'mDKKD':_0x4b8765(0x1ed),'cxVyY':_0x4b8765(0x1fd),'Wzymt':'passed','zSLgp':function(_0x393634,_0x3be11a){return _0x393634!==_0x3be11a;},'CxXSJ':function(_0x653414,_0x172e68){return _0x653414/_0x172e68;},'byXRN':_0x4b8765(0x201),'NTKzR':function(_0x35d04f,_0x2a0e0a){return _0x35d04f(_0x2a0e0a);},'bIsDU':_0x4b8765(0x1f7),'LOlJe':function(_0x149b88,_0x32e0f8){return _0x149b88(_0x32e0f8);},'aEODm':_0x4b8765(0x236),'zMIPG':_0x4b8765(0x269),'fZsut':_0x4b8765(0x239),'lYkOc':function(_0x2a8e6c,_0x2e8795){return _0x2a8e6c>_0x2e8795;}},{feature:_0x14df34,scenario:_0x377068,steps:_0x426b06,uuid:_0x1b4bbb,startedAt:_0x360033,finishedAt:_0x3d22df}=_0x3053a1['eDBrA'](_0x5c1fb2,{}),_0x570675=this[_0x4b8765(0x25b)](_0x4377d6,_0x1abeb3);await this[_0x4b8765(0x1f5)]();const _0x482aa1=_0x570675?_0x3053a1['RnDXg'](_0x3053a1[_0x4b8765(0x1fa)](_0x3053a1['RnDXg'](_0x1abeb3[_0x4b8765(0x271)],'\x20('),_0x570675[_0x4b8765(0x218)](',\x20')),')'):_0x1abeb3[_0x4b8765(0x271)],_0x9585ec={'uuid':_0x1b4bbb,'started_at':_0x360033,'finished_at':_0x3d22df,'type':_0x3053a1[_0x4b8765(0x224)],'body':{'lang':_0x3053a1[_0x4b8765(0x23e)],'code':null},'name':_0x482aa1,'scopes':[_0x14df34&&_0x14df34[_0x4b8765(0x271)]?_0x14df34[_0x4b8765(0x271)]:''],'tags':_0x1abeb3[_0x4b8765(0x219)]?_0x1abeb3[_0x4b8765(0x219)][_0x4b8765(0x216)](({name:_0x5ca529})=>_0x5ca529):[],'file_name':_0x1abeb3[_0x4b8765(0x205)],'location':_0x1abeb3['uri'],'vc_filepath':this[_0x4b8765(0x250)]&&_0x1abeb3['uri']?path[_0x4b8765(0x221)](this['_gitConfigPath'],_0x1abeb3['uri']):null,'framework':_0x3053a1[_0x4b8765(0x234)],'result':_0x3053a1['cxVyY'],'meta':{'feature':_0x14df34,'scenario':_0x377068,'steps':_0x426b06,'examples':_0x570675},'customRerunParam':{'rerun_name':_0x482aa1}};if(_0x495dd8[_0x4b8765(0x22d)]&&_0x426b06){const _0x30f283=_0x495dd8['testCaseFinished'];let _0x1bd16e=_0x3053a1[_0x4b8765(0x23d)];_0x426b06[_0x4b8765(0x254)](_0x2f12a5=>{const _0x52ea94=_0x4b8765;if(_0x3053a1[_0x52ea94(0x265)](_0x2f12a5['result'],_0x3053a1['HnuZo']))return _0x1bd16e=_0x3053a1['oyLrO'],_0x30f283['failure']=_0x2f12a5[_0x52ea94(0x1e2)],_0x30f283[_0x52ea94(0x24f)]=_0x2f12a5[_0x52ea94(0x24f)],![];else{if(_0x3053a1['fvslw'](_0x2f12a5[_0x52ea94(0x26f)],_0x3053a1[_0x52ea94(0x1fe)]))return _0x1bd16e=_0x3053a1[_0x52ea94(0x244)],![];}return!![];}),_0x9585ec[_0x4b8765(0x247)]=new Date()[_0x4b8765(0x232)](),_0x9585ec['result']=_0x1bd16e;_0x30f283[_0x4b8765(0x1f2)]&&_0x3053a1[_0x4b8765(0x1ff)](_0x30f283[_0x4b8765(0x1f2)]['nanos'],undefined)?_0x9585ec['duration_in_ms']=_0x3053a1['CxXSJ'](_0x30f283[_0x4b8765(0x1f2)]['nanos'],0xf4240):_0x9585ec['duration_in_ms']=undefined;if(_0x3053a1[_0x4b8765(0x265)](_0x1bd16e,_0x3053a1[_0x4b8765(0x251)])){const {default:_0x2ec89b}=await import(_0x3053a1[_0x4b8765(0x20b)]);_0x9585ec[_0x4b8765(0x1e2)]=[{'backtrace':[_0x30f283[_0x4b8765(0x1e2)]?_0x3053a1[_0x4b8765(0x1ea)](_0x2ec89b,_0x30f283['failure']):_0x3053a1['bIsDU']]}],_0x9585ec[_0x4b8765(0x1e6)]=_0x30f283['failure']?_0x3053a1[_0x4b8765(0x24e)](_0x2ec89b,_0x30f283[_0x4b8765(0x1e2)]):_0x30f283[_0x4b8765(0x235)],_0x30f283['failureType']&&(_0x9585ec['failure_type']=_0x30f283[_0x4b8765(0x24f)]['match'](/AssertError/)?_0x3053a1[_0x4b8765(0x20a)]:_0x3053a1[_0x4b8765(0x21b)]);}}if(_0x3053a1[_0x4b8765(0x265)](_0x3eeb2b,_0x3053a1[_0x4b8765(0x1f3)])){const _0x5c7559=this[_0x4b8765(0x23c)](_0x495dd8['testCaseFinished'][_0x4b8765(0x203)]);_0x5c7559&&_0x3053a1[_0x4b8765(0x25f)](_0x5c7559[_0x4b8765(0x243)],0x0)&&(_0x9585ec[_0x4b8765(0x223)]=_0x5c7559,this[_0x4b8765(0x1ee)](_0x495dd8[_0x4b8765(0x22d)][_0x4b8765(0x203)],_0x9585ec));}testhubUtils[_0x4b8765(0x267)](_0x9585ec,_0x3eeb2b,'',FRAMEWORKS[_0x4b8765(0x220)]);const _0xbe798b={};_0xbe798b[_0x4b8765(0x20f)]=_0x3eeb2b,_0xbe798b['test_run']=_0x9585ec;const _0xeab9b7=_0xbe798b;await SessionHandler[_0x4b8765(0x230)](_0xeab9b7);}[a10_0x3c3f1c(0x1ee)](_0x43d228,_0x112bb1){const _0x5803fa=a10_0x3c3f1c,_0x2ad483={};_0x2ad483['mIHjf']=function(_0x490f7b,_0x421f00){return _0x490f7b instanceof _0x421f00;},_0x2ad483[_0x5803fa(0x214)]=function(_0x114d0a,_0x28a0b0){return _0x114d0a===_0x28a0b0;},_0x2ad483[_0x5803fa(0x1f0)]=_0x5803fa(0x256),_0x2ad483[_0x5803fa(0x20d)]=_0x5803fa(0x252),_0x2ad483['jaZmC']=function(_0x592112,_0x57660d){return _0x592112 instanceof _0x57660d;};const _0x12ad3c=_0x2ad483,_0x5ce179=hooksMap[_0x43d228];if(_0x12ad3c[_0x5803fa(0x26b)](_0x5ce179,Array))for(const _0x4439da of _0x5ce179){if(_0x12ad3c[_0x5803fa(0x214)](_0x4439da[_0x5803fa(0x26f)],_0x12ad3c[_0x5803fa(0x1f0)])){const _0x279420=_0x12ad3c['drbCs'][_0x5803fa(0x231)]('|');let _0x2283f7=0x0;while(!![]){switch(_0x279420[_0x2283f7++]){case'0':_0x112bb1['failure_reason']=_0x12ad3c[_0x5803fa(0x262)](_0x4439da['failure_data'],Array)?_0x4439da['failure_data'][0x0]['backtrace'][_0x5803fa(0x218)]('\x0a'):'';continue;case'1':_0x112bb1['failure']=_0x4439da['failure_data'];continue;case'2':return _0x112bb1;case'3':_0x112bb1[_0x5803fa(0x208)]=_0x4439da[_0x5803fa(0x208)];continue;case'4':_0x112bb1[_0x5803fa(0x26f)]=_0x4439da[_0x5803fa(0x26f)];continue;}break;}}};}[a10_0x3c3f1c(0x23c)](_0x2bcc94){const _0x4125a5=a10_0x3c3f1c;if(hooksMap[_0x2bcc94])return hooksMap[_0x2bcc94][_0x4125a5(0x216)](_0x2c6bee=>_0x2c6bee['uuid']);return[];}[a10_0x3c3f1c(0x222)](_0x5de8cf,_0x1e6f4b,_0x2453d7,_0x5bec71,_0x3d1ea2,_0x22cafc){const _0xa7cb8=a10_0x3c3f1c,_0x591080={'leOIA':function(_0x44d6fd,_0x308a18){return _0x44d6fd===_0x308a18;},'YFIoq':'HookRunFinished','Wscnh':function(_0x288913,_0x1303ef,_0x9c2208){return _0x288913(_0x1303ef,_0x9c2208);},'UAVzC':_0xa7cb8(0x257),'JGMdT':_0xa7cb8(0x205),'QgyGl':'pending','DOIFi':_0xa7cb8(0x26c),'jmYCC':'javascript','Raozz':function(_0x49e283,_0x19c4a9,_0x568cd9){return _0x49e283(_0x19c4a9,_0x568cd9);},'oVVhj':_0xa7cb8(0x207),'rcumC':_0xa7cb8(0x271),'AYUrX':function(_0xe1cc55,_0x56efba,_0x5848ae){return _0xe1cc55(_0x56efba,_0x5848ae);},'ipzsd':_0xa7cb8(0x1ed)};try{if(_0x591080[_0xa7cb8(0x1f1)](_0x2453d7,_0x591080['YFIoq'])){const _0x5b27d4=new Date()[_0xa7cb8(0x232)](),_0x344c7f=hooksMap[_0x1e6f4b];if(!_0x344c7f)return;const _0x5b3888=_0x344c7f['find'](_0x2c345a=>_0x2c345a['uuid']===_0x5bec71['id']);if(!_0x5b3888)return;const _0x4766eb=this['getHookResult'](_0x5de8cf,_0x1e6f4b);_0x5b3888[_0xa7cb8(0x26f)]=_0x4766eb[_0xa7cb8(0x211)],_0x5b3888[_0xa7cb8(0x247)]=_0x5b27d4,_0x5b3888[_0xa7cb8(0x208)]=_0x4766eb[_0xa7cb8(0x24f)];const _0x49943a={};return _0x49943a[_0xa7cb8(0x21e)]=_0x4766eb['failureData'],_0x5b3888[_0xa7cb8(0x213)]=[_0x49943a],_0x5b3888;}const _0x2014a1=TestDetails[_0xa7cb8(0x261)](_0x1e6f4b),_0x346824=_0x5de8cf[_0xa7cb8(0x223)][_0xa7cb8(0x202)](_0x5281a8=>_0x5281a8['id']===_0x5bec71[_0xa7cb8(0x1e1)]),_0x11dc90=_0x591080['Wscnh'](nestedKeyValue,_0x346824,[_0x591080['UAVzC'],_0x591080['JGMdT']]),_0x3856fb=new Date()[_0xa7cb8(0x232)](),_0x2feb55=_0x591080[_0xa7cb8(0x248)],_0x46c395=_0x346824[_0xa7cb8(0x240)]?_0x346824['tagExpression']['split']('\x20')[_0xa7cb8(0x26e)](_0x314230=>_0x314230[_0xa7cb8(0x21d)]('@')):[],_0x4f5ad2={'uuid':_0x5bec71['id'],'type':_0x591080[_0xa7cb8(0x255)],'hook_type':_0x22cafc,'name':_0x346824[_0xa7cb8(0x271)],'body':{'lang':_0x591080['jmYCC'],'code':null},'tags':_0x46c395,'test_run_id':_0x2014a1,'scope':_0x591080[_0xa7cb8(0x22a)](nestedKeyValue,_0x3d1ea2,[_0x591080['oVVhj'],_0x591080['rcumC']]),'scopes':[_0x591080['AYUrX'](nestedKeyValue,_0x3d1ea2,[_0x591080['oVVhj'],_0x591080[_0xa7cb8(0x25e)]])||''],'file_name':_0x11dc90,'location':_0x11dc90,'vc_filepath':this[_0xa7cb8(0x250)]?path[_0xa7cb8(0x221)](this[_0xa7cb8(0x250)],_0x11dc90):null,'result':_0x2feb55,'started_at':_0x3856fb,'framework':_0x591080[_0xa7cb8(0x21c)]};return _0x4f5ad2;}catch(_0x41b1fb){logger[_0xa7cb8(0x24c)](_0xa7cb8(0x241)+util[_0xa7cb8(0x215)](_0x41b1fb)+'\x20');}}async[a10_0x3c3f1c(0x23b)](_0x5bd992,_0x6d1ab8,_0x24e413,_0x2b5421,_0x32330f,_0x597004){const _0x1f754a=a10_0x3c3f1c,_0x55fec1={'ItAMj':function(_0x5499c2,_0x850476){return _0x5499c2===_0x850476;},'vhLrh':_0x1f754a(0x212),'JJsIh':function(_0x91cf47,_0x2e9fa9,_0x17f0c4){return _0x91cf47(_0x2e9fa9,_0x17f0c4);},'FWCUM':_0x1f754a(0x257),'ciOhi':'uri','osXJa':_0x1f754a(0x237)};try{const _0x42e7b3=_0x2b5421['find'](_0x543c03=>_0x543c03['id']===_0x32330f);if(!_0x42e7b3[_0x1f754a(0x1e1)])return;const _0x37b949=this[_0x1f754a(0x1e5)](_0x2b5421,_0x42e7b3),_0x3bcbb5=this['getHookRunEventData'](_0x5bd992,_0x6d1ab8,_0x24e413,_0x42e7b3,_0x597004,_0x37b949);if(!_0x3bcbb5)return;_0x55fec1['ItAMj'](_0x24e413,_0x55fec1[_0x1f754a(0x21f)])&&(hooksMap[_0x6d1ab8]?hooksMap[_0x6d1ab8][_0x1f754a(0x1ec)](_0x3bcbb5):hooksMap[_0x6d1ab8]=[_0x3bcbb5]);const _0x59b1a0=_0x5bd992[_0x1f754a(0x223)]['find'](_0x478ef0=>_0x478ef0['id']===_0x42e7b3[_0x1f754a(0x1e1)]),_0x566bcc=_0x55fec1[_0x1f754a(0x25d)](nestedKeyValue,_0x59b1a0,[_0x55fec1[_0x1f754a(0x24a)],_0x55fec1[_0x1f754a(0x258)]]);if(!_0x566bcc)return;else{if(_0x566bcc['includes'](_0x55fec1[_0x1f754a(0x268)]))return;}const _0x441ba0={};_0x441ba0[_0x1f754a(0x20f)]=_0x24e413,_0x441ba0['hook_run']=_0x3bcbb5;const _0x2b78ba=_0x441ba0;await SessionHandler[_0x1f754a(0x230)](_0x2b78ba);}catch(_0xc28ed3){logger[_0x1f754a(0x24c)](_0x1f754a(0x206)+util[_0x1f754a(0x215)](_0xc28ed3)+'\x20');}}[a10_0x3c3f1c(0x1f4)](_0x3d39e7,_0x3c1dd3){const _0x367a97=a10_0x3c3f1c,_0x1103e1={};_0x1103e1[_0x367a97(0x210)]=function(_0x1fb5c4,_0x281b7f){return _0x1fb5c4===_0x281b7f;},_0x1103e1[_0x367a97(0x22c)]=_0x367a97(0x256),_0x1103e1[_0x367a97(0x24b)]=function(_0x563893,_0x52ed61){return _0x563893===_0x52ed61;},_0x1103e1[_0x367a97(0x1eb)]='UnhandledError',_0x1103e1[_0x367a97(0x229)]=_0x367a97(0x236),_0x1103e1[_0x367a97(0x26a)]=function(_0x378cbb,_0x5950a9){return _0x378cbb||_0x5950a9;};const _0x3bee3f=_0x1103e1,_0x2022a8=_0x3d39e7[_0x367a97(0x1ef)][_0x3c1dd3]['testStepResult'];let _0x278b5b,_0x44bc77;return _0x2022a8&&_0x3bee3f[_0x367a97(0x210)](_0x2022a8[_0x367a97(0x211)][_0x367a97(0x1e4)]()[_0x367a97(0x1e8)](),_0x3bee3f[_0x367a97(0x22c)])&&(_0x278b5b=_0x3bee3f[_0x367a97(0x24b)](_0x2022a8[_0x367a97(0x227)],undefined)?_0x2022a8[_0x367a97(0x235)]:_0x2022a8[_0x367a97(0x227)][_0x367a97(0x235)],_0x44bc77=_0x3bee3f[_0x367a97(0x210)](_0x2022a8[_0x367a97(0x227)],undefined)?_0x3bee3f['DlaFL']:_0x2022a8[_0x367a97(0x235)][_0x367a97(0x1fb)](/Assert/)?_0x3bee3f[_0x367a97(0x229)]:_0x3bee3f[_0x367a97(0x1eb)]),{'status':_0x2022a8[_0x367a97(0x211)][_0x367a97(0x1e8)](),'failureType':_0x3bee3f[_0x367a97(0x26a)](_0x44bc77,null),'failureData':!_0x278b5b?null:[_0x278b5b]};}['getCucumberHookType'](_0x27d20,_0x1d1d19){const _0x5a2c66=a10_0x3c3f1c,_0x1e4d9e={};_0x1e4d9e['fFojf']=function(_0x2f9214,_0xd8c7c){return _0x2f9214===_0xd8c7c;},_0x1e4d9e[_0x5a2c66(0x22b)]=_0x5a2c66(0x259),_0x1e4d9e['SGOdx']='BEFORE_EACH';const _0x3b5603=_0x1e4d9e;let _0x4c1ee4=![];for(const _0x11d441 of _0x27d20){_0x11d441['pickleStepId']&&(_0x4c1ee4=!![]);if(_0x3b5603['fFojf'](_0x1d1d19['id'],_0x11d441['id']))return _0x4c1ee4?_0x3b5603[_0x5a2c66(0x22b)]:_0x3b5603[_0x5a2c66(0x23f)];}}[a10_0x3c3f1c(0x25b)]=(_0x298b7c,_0x454222)=>{const _0x4b9b92=a10_0x3c3f1c,_0x38ff06={};_0x38ff06[_0x4b9b92(0x238)]=function(_0x21bc33,_0x432589){return _0x21bc33===_0x432589;},_0x38ff06['LoOxN']=function(_0x49b1cb,_0x28670f){return _0x49b1cb>_0x28670f;};const _0x505e3f=_0x38ff06;if(!(_0x454222[_0x4b9b92(0x228)]&&_0x505e3f[_0x4b9b92(0x20c)](_0x454222['astNodeIds'][_0x4b9b92(0x243)],0x1)))return;const _0x2c12b2=_0x454222['astNodeIds'][0x0],_0xc63309=_0x454222[_0x4b9b92(0x228)][0x1],_0x6c5f5f=_0x298b7c[_0x4b9b92(0x207)]&&_0x298b7c['feature'][_0x4b9b92(0x1e9)]?_0x298b7c[_0x4b9b92(0x207)]['children']:undefined;let _0x30b4dd=[];_0x6c5f5f&&_0x6c5f5f['forEach'](_0x4798ed=>{const _0x534e85=_0x4b9b92;if(_0x4798ed[_0x534e85(0x260)])_0x4798ed[_0x534e85(0x260)][_0x534e85(0x1e9)][_0x534e85(0x225)](_0x4544ff=>{const _0x178bda=_0x534e85;if(_0x4544ff[_0x178bda(0x22e)]&&_0x505e3f[_0x178bda(0x238)](_0x4544ff[_0x178bda(0x22e)]['id'],_0x2c12b2)&&_0x4544ff[_0x178bda(0x22e)][_0x178bda(0x1f9)]){const _0x8a541f=_0x4544ff['scenario']['examples'][_0x178bda(0x266)](_0x375b0f=>_0x375b0f[_0x178bda(0x1f8)])[_0x178bda(0x202)](_0x29d8a3=>_0x29d8a3['id']===_0xc63309);let _0x2ff78b;_0x8a541f&&_0x8a541f[_0x178bda(0x270)]?_0x2ff78b=_0x8a541f[_0x178bda(0x270)][_0x178bda(0x216)](_0x179c02=>_0x179c02[_0x178bda(0x23a)]):_0x2ff78b=[],_0x2ff78b&&(_0x30b4dd=_0x2ff78b);}});else{if(_0x4798ed['scenario']&&_0x505e3f[_0x534e85(0x238)](_0x4798ed[_0x534e85(0x22e)]['id'],_0x2c12b2)&&_0x4798ed['scenario'][_0x534e85(0x1f9)]){const _0x59cb67=_0x4798ed[_0x534e85(0x22e)][_0x534e85(0x1f9)][_0x534e85(0x266)](_0x1a0196=>_0x1a0196['tableBody'])['find'](_0x11ebdf=>_0x11ebdf['id']===_0xc63309);let _0x3ff32c;_0x59cb67&&_0x59cb67[_0x534e85(0x270)]?_0x3ff32c=_0x59cb67['cells'][_0x534e85(0x216)](_0x4f2b7b=>_0x4f2b7b[_0x534e85(0x23a)]):_0x3ff32c=[],_0x3ff32c&&(_0x30b4dd=_0x3ff32c);}}});if(_0x30b4dd[_0x4b9b92(0x243)])return _0x30b4dd;return;};async['configureGit'](){const _0x1adfef=a10_0x3c3f1c,_0x4e635f={'ldLjG':function(_0x2ce9bb){return _0x2ce9bb();}};if(this['_gitConfigured'])return this[_0x1adfef(0x250)];const _0x3dab4d=await _0x4e635f[_0x1adfef(0x25c)](getGitMetaData);_0x3dab4d&&(this[_0x1adfef(0x250)]=_0x3dab4d[_0x1adfef(0x209)]),this[_0x1adfef(0x204)]=!![];}}module['exports']=o11yClassErrorHandler(TestObservabilityReporter,[a10_0x3c3f1c(0x1f5),a10_0x3c3f1c(0x25b),'getCucumberHookType','getHookResult',a10_0x3c3f1c(0x23b),'getHookRunEventData',a10_0x3c3f1c(0x246)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a11_0x388c89=a11_0x2dd4;(function(_0x56d40b,_0x2f540f){const _0x136ab8=a11_0x2dd4,_0x3ff75a=_0x56d40b();while(!![]){try{const _0x1d2440=-parseInt(_0x136ab8(0xeb))/0x1*(parseInt(_0x136ab8(0x108))/0x2)+-parseInt(_0x136ab8(0x16d))/0x3+-parseInt(_0x136ab8(0x138))/0x4+-parseInt(_0x136ab8(0x124))/0x5*(-parseInt(_0x136ab8(0x15b))/0x6)+parseInt(_0x136ab8(0x101))/0x7*(-parseInt(_0x136ab8(0x151))/0x8)+parseInt(_0x136ab8(0xc7))/0x9+-parseInt(_0x136ab8(0x14b))/0xa*(-parseInt(_0x136ab8(0x13f))/0xb);if(_0x1d2440===_0x2f540f)break;else _0x3ff75a['push'](_0x3ff75a['shift']());}catch(_0x4e086e){_0x3ff75a['push'](_0x3ff75a['shift']());}}}(a11_0x153b,0x97d91));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a11_0x388c89(0x168)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a11_0x388c89(0x131)),setKeepAlive=require(a11_0x388c89(0xae)),util=require(a11_0x388c89(0x12d)),PerformanceTester=require(a11_0x388c89(0xaa)),{commandRepository}=require(a11_0x388c89(0x154)),cucumberModule=requireModule(a11_0x388c89(0x113),a11_0x388c89(0x145)),logger=require('../../helpers/logger')[a11_0x388c89(0x12a)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a11_0x388c89(0x153)),TestDetails=require(a11_0x388c89(0x133)),RequestQueueHandler=require(a11_0x388c89(0xbe)),{o11yErrorHandler}=require(a11_0x388c89(0xc0)),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a11_0x388c89(0x134)),scripts=require(a11_0x388c89(0xe1)),globals=require('../../helpers/globals'),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require(a11_0x388c89(0xb2)),{isUndefined}=require(a11_0x388c89(0xfe)),helper=require(a11_0x388c89(0x168)),a11_0x23ef2a={};a11_0x23ef2a[a11_0x388c89(0xc3)]=undefined,a11_0x23ef2a[a11_0x388c89(0x122)]={},a11_0x23ef2a[a11_0x388c89(0x16a)]=![],a11_0x23ef2a[a11_0x388c89(0x135)]=null,a11_0x23ef2a['isPageFixture']=![],a11_0x23ef2a[a11_0x388c89(0x122)]['id']=undefined,a11_0x23ef2a[a11_0x388c89(0x122)][a11_0x388c89(0x11a)]=undefined;const workerDetails=a11_0x23ef2a;global[a11_0x388c89(0x10b)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x3a789e){const _0x103540=a11_0x388c89,_0x27ac61=workerDetails['currentTest']['testInfo'];if(!_0x27ac61)return;await MyReporter[_0x103540(0x10f)](_0x27ac61,_0x3a789e);}),registerListeners=()=>{const _0x34dcff=a11_0x388c89,_0x3f90ca={};_0x3f90ca['NljkI']=_0x34dcff(0xfd);const _0xc55d43=_0x3f90ca;logger[_0x34dcff(0xcd)](_0xc55d43[_0x34dcff(0x170)]),process['removeAllListeners']('bs:addLog:'+process['pid']),process['on'](_0x34dcff(0x11e)+process[_0x34dcff(0x14a)],sendTestLog),PerformanceTester[_0x34dcff(0xbd)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a11_0x388c89(0xee)],After=cucumberModule[a11_0x388c89(0x157)],AfterAll=cucumberModule[a11_0x388c89(0x15a)],BeforeAll=cucumberModule['BeforeAll'],AfterStep=cucumberModule['AfterStep'],configuration=process[a11_0x388c89(0x103)][a11_0x388c89(0xab)],bstackConfig=process[a11_0x388c89(0x103)][a11_0x388c89(0x14f)];function a11_0x153b(){const _0x572168=['After','executeAsyncScript','__skipSessionName','AfterAll','86628bxHhkD','failed','TpCUh','browserstackAgentV2','toString','platformCaps','cleanup','tags','Passed','__platformCaps','finally','Owtrf','Inside\x20browserstack\x20AfterStep','../../helpers/helper','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','o11ySyncDone','dmZAj','aVWEC','610758sDSOFc','iIAEz','isAccessibilityPlatform','NljkI','testCaseStartedId','message','toLowerCase','BrHjU','thJwtToken','bootstrap','3|2|1|0|4','__sessionFailed','setConfig','event_type','Flow\x20detection:\x20isSeleniumFlow=','driverCleanup','Error\x20in\x20playwright\x20beforeTestHook:\x20','getTestUUID','../v2/cliUtils','Error:\x20quiting\x20driver\x20at\x20After:\x20','Inside\x20browserstack\x20Before','setDefaultTimeout','../../helpers/performance/performance-tester','CONFIG','cmtXy','TQXxw','../../helpers/setKeepAlive','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','thTestRunUuid','BROWSERSTACK_TESTHUB_JWT','../../helpers/accessibility-automation/helper','lQSum','pickle','ChpGU','browserstackSessionName','NGYSS','zOIta','idUAG','\x22}}','push','TODaG','startMonitoring','../../helpers/test-observability/requestQueueHandler','catch','../../helpers/test-observability/error-handler','Bveto','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','workerInfo','getGlobal','Error:\x20at\x20After\x20Step:\x20','Inside\x20browserstack\x20After','807912MHyARa','__skipSessionStatus','name','../v2/browserstackCLI','dxssT','dGQbo','debug','shutdown','IWBAS','\x20|\x20','text','Cucumber-JS','NkLsg','ENV_VAR',',\x20isPlaywrightFlow=','Inside\x20browserstack\x20AfterAll','bstack','eQIJy','length','./playwright-patcher','gKuTA','tYmhi','executeScript','closeTracker','integrations','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','../../helpers/accessibility-automation/scripts','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','PUPHV','mUfkd','ISXru','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','yGEQC','\x0aError:\x20','setTestNameForHealingContext','@playwright/test','69fjzVgQ','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Before','XLodn','timeout','join','bstackA11yShouldScan','parse','Failed:\x20','test_run','executeDeferredCloses','getInstance','initQuit','split','ovRgb','HqCya','riOdb','Inside\x20browserstack\x20registerListeners','lodash','passed','nXYsH','5404427EYJSoA','then','env','HWGqu','__drivers','getId','performScan','9058pFOfMF','CMTSM','result','__workerDetails','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','PLAYWRIGHT','getPackageVersion','addTestUIDAndReportLog','Completed\x20Playwright\x20afterTestHook\x20execution','initializePlaywrightPatching',',\x22level\x22:\x20\x22','@cucumber/cucumber/lib/index.js','../../index','FlMpu','format','Error:\x20sendPlatformDetails\x20at\x20After:\x20','info','setFrameworkDetail','testInfo','afterTestHook','Passed:\x20','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','bs:addLog:','session_','__error_messages__','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','currentTest','urCCM','400GuFUaA','gTAdd','shift','WwIZB','error','Error:\x20in\x20quitting\x20driver\x20','winstonLogger','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','JDsxo','util','mDiDG','Performing\x20scan\x20before\x20saving\x20results','Error:\x20cleaning\x20up\x20driver:\x20','../utils/constants','pickleStep','../playwright/reporter/test-details.js','../../helpers/test-observability/sessionHandler','pwPage','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','1133260NnPIAn','Error\x20initializing\x20Playwright\x20patching:\x20','CBTSessionCreated','uploadEventData','PRaRd','UwOnJ','quitCount_','264CSugbt','Performing\x20Playwright\x20Patching','oZhvZ','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','cucumber-js','CUCUMBER','@cucumber/cucumber','thBuildUuid','CgPkn','setFramework','ptssa','pid','395260GhfULz','stringify','Ejtha','skipSessionStatus','BSTACK_CONFIG','ftMty','8TlgSYx','status','../../helpers/test-observability/utils','../../helpers/ai-sdk/autoHealHelper','uuid','beforeTestHook'];a11_0x153b=function(){return _0x572168;};return a11_0x153b();}if(configuration!==undefined){const config=JSON[a11_0x388c89(0xf3)](configuration);isBrowserstackInfra()?(global[a11_0x388c89(0x159)]=isTrue(config['skipSessionName']),global[a11_0x388c89(0xc8)]=isTrue(config[a11_0x388c89(0x14e)])):(global[a11_0x388c89(0x159)]=!![],global[a11_0x388c89(0xc8)]=!![]);!helper[a11_0x388c89(0x10e)](a11_0x388c89(0xea))&&(logger[a11_0x388c89(0xcd)]('Performing\x20Selenium\x20Patching'),shouldProcessEventForTesthub()?require(a11_0x388c89(0x114))[a11_0x388c89(0x15e)](config,null,!![]):require('../../index')[a11_0x388c89(0x15e)](config));global[a11_0x388c89(0x164)]=config[a11_0x388c89(0x160)]||{};if(helper['getPackageVersion']('@playwright/test'))try{logger['debug'](a11_0x388c89(0x140)),playwrightPatcher=require(a11_0x388c89(0xda)),playwrightPatcher[a11_0x388c89(0x111)](config),logger[a11_0x388c89(0xcd)](a11_0x388c89(0xc2));}catch(a11_0x59523c){logger[a11_0x388c89(0xcd)](a11_0x388c89(0x139)+util['format'](a11_0x59523c));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a11_0x388c89(0xf3)](bstackConfig);browserStackConfig&&(commandRepository[a11_0x388c89(0xa0)](browserStackConfig),commandRepository[a11_0x388c89(0x148)](a11_0x388c89(0x143)));}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule[a11_0x388c89(0xa9)];function a11_0x2dd4(_0x542f59,_0x286238){const _0x153baf=a11_0x153b();return a11_0x2dd4=function(_0x2dd464,_0x166627){_0x2dd464=_0x2dd464-0x98;let _0x2497c6=_0x153baf[_0x2dd464];return _0x2497c6;},a11_0x2dd4(_0x542f59,_0x286238);}cucumberModule[a11_0x388c89(0xa9)]=_0x549adf=>{const _0xc90ac1={'zkWhe':function(_0x55bb48,_0x422a95){return _0x55bb48(_0x422a95);}};global['__timeout']=_0x549adf,_0xc90ac1['zkWhe'](__setDefaultTimeout,_0x549adf);};const a11_0x177957={};a11_0x177957[a11_0x388c89(0xc9)]=a11_0x388c89(0xd7),BeforeAll(a11_0x177957,async function(){const _0xe09d9=a11_0x388c89,_0x1aaf9c={'xSoBV':function(_0x568043,_0x3046d2,_0x1711d2,_0x30681f){return _0x568043(_0x3046d2,_0x1711d2,_0x30681f);},'Ejtha':'failed','WeuCd':_0xe09d9(0xd0),'HqCya':function(_0x1ba1a5,_0x137fef,_0x900955){return _0x1ba1a5(_0x137fef,_0x900955);},'WwIZB':_0xe09d9(0xff),'zOIta':'Inside\x20browserstack\x20BeforeAll','POhyv':function(_0x13d470,_0x3cf4db){return _0x13d470(_0x3cf4db);},'gTAdd':_0xe09d9(0xca),'sfQAo':function(_0x562053,_0x21b28f){return _0x562053(_0x21b28f);},'aQpwQ':_0xe09d9(0xa6),'rwuqY':_0xe09d9(0x131),'gKuTA':_0xe09d9(0x11d),'Owtrf':function(_0x482654){return _0x482654();},'ChpGU':function(_0x50eac3,_0x522e83){return _0x50eac3(_0x522e83);}};PerformanceTester[_0xe09d9(0xbd)](),logger[_0xe09d9(0xcd)](_0x1aaf9c[_0xe09d9(0xb8)]),global[_0xe09d9(0x120)]=[],global[_0xe09d9(0x9f)]=![];if(playwrightPatcher)try{const _0x38e31c=_0x1aaf9c['POhyv'](require,_0x1aaf9c[_0xe09d9(0x125)]),_0xb84398=_0x1aaf9c['sfQAo'](require,_0x1aaf9c['aQpwQ']),{FRAMEWORKS:_0x12112f}=_0x1aaf9c['POhyv'](require,_0x1aaf9c['rwuqY']);_0x38e31c[_0xe09d9(0xf7)]()['isCliEnabled']()&&(logger[_0xe09d9(0xcd)](_0x1aaf9c[_0xe09d9(0xdb)]),_0xb84398[_0xe09d9(0x119)](_0x12112f[_0xe09d9(0x144)],_0x12112f[_0xe09d9(0x10d)]),await _0x38e31c[_0xe09d9(0xf7)]()[_0xe09d9(0x9d)]());}catch(_0x17b7fd){logger['debug'](_0xe09d9(0xe2)+util[_0xe09d9(0x116)](_0x17b7fd));}_0x1aaf9c['Owtrf'](shouldProcessEventForTesthub)&&(_0x1aaf9c[_0xe09d9(0x166)](registerListeners),_0x1aaf9c[_0xe09d9(0xb5)](addRequestSpy,![])),global['driverCleanup']=async()=>{const _0xe9a865=_0xe09d9;let _0x3b4f83=![];try{global[_0xe9a865(0x105)]&&global[_0xe9a865(0x105)][0x0]&&(await global[_0xe9a865(0x105)][0x0]['session_'],_0x3b4f83=!![],global['__sessionFailed']?await _0x1aaf9c['xSoBV'](markSessionStatus,global[_0xe9a865(0x105)][0x0],_0x1aaf9c[_0xe9a865(0x14d)],global[_0xe9a865(0x120)]['join'](_0x1aaf9c['WeuCd'])):await _0x1aaf9c[_0xe9a865(0xfb)](markSessionStatus,global[_0xe9a865(0x105)][0x0],_0x1aaf9c[_0xe9a865(0x127)]));}catch(_0x3f5138){logger[_0xe9a865(0xcd)](_0xe9a865(0x130)+_0x3f5138);}global[_0xe9a865(0x120)]=[],global[_0xe9a865(0x9f)]=![];if(_0x3b4f83)try{await global['__drivers'][0x0][_0xe9a865(0xf8)](),global[_0xe9a865(0x105)][0x0][_0xe9a865(0x11f)]['then'](_0x2066af=>{const _0x23880c=_0xe9a865;logger[_0x23880c(0xcd)](_0x23880c(0x129)+_0x2066af[_0x23880c(0x106)]());})[_0xe9a865(0xbf)](_0x71d06c=>{});}catch(_0x178444){logger['debug'](_0xe9a865(0xec)+_0x178444);}};});const a11_0x3c4aeb={};a11_0x3c4aeb[a11_0x388c89(0xc9)]=a11_0x388c89(0xd7),a11_0x3c4aeb[a11_0x388c89(0xf0)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],Before(a11_0x3c4aeb,function(_0x4dbecd,_0x5342a0){const _0x6d2aa0=a11_0x388c89,_0xacf120={'cmtXy':function(_0x4b7661,_0x15ec31){return _0x4b7661>_0x15ec31;},'XLodn':function(_0x5f3c86,_0x476de7){return _0x5f3c86(_0x476de7);},'ptssa':function(_0x10d47c,_0x4ca986,_0x4b8e22,_0x56c569){return _0x10d47c(_0x4ca986,_0x4b8e22,_0x56c569);},'ISXru':'bstackA11yShouldScan','dtZSN':function(_0x200582){return _0x200582();},'CMTSM':_0x6d2aa0(0xa8)};commandRepository[_0x6d2aa0(0xe9)](_0x4dbecd[_0x6d2aa0(0xb4)]['name']),logger[_0x6d2aa0(0xcd)](_0xacf120[_0x6d2aa0(0x109)]),new Promise(async _0xc90160=>{const _0x3fbfdd=_0x6d2aa0;try{global[_0x3fbfdd(0x105)]&&_0xacf120[_0x3fbfdd(0xac)](global['__drivers'][_0x3fbfdd(0xd9)],0x1)&&(await global[_0x3fbfdd(0xa3)](),global[_0x3fbfdd(0x105)]['shift']()),global[_0x3fbfdd(0x105)]&&global[_0x3fbfdd(0x105)][0x0]&&global[_0x3fbfdd(0x105)][0x0]['quitCount_']&&_0xacf120[_0x3fbfdd(0xac)](global[_0x3fbfdd(0x105)][0x0]['quitCount_'],0x0)&&await global['driverCleanup']();}catch(_0xc7c47b){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0xc7c47b);}workerDetails[_0x3fbfdd(0x122)][_0x3fbfdd(0x11a)]=_0x4dbecd;if(playwrightPatcher)try{await playwrightPatcher[_0x3fbfdd(0x156)](_0x4dbecd);}catch(_0x32be18){logger[_0x3fbfdd(0xcd)](_0x3fbfdd(0xa4)+util['format'](_0x32be18));}try{if(!_0xacf120[_0x3fbfdd(0xef)](isUndefined,_0x4dbecd[_0x3fbfdd(0xb4)]['tags'])){const _0x45ba0f=_0xacf120[_0x3fbfdd(0x149)](shouldScanTestForAccessibility,null,![],_0x4dbecd[_0x3fbfdd(0xb4)][_0x3fbfdd(0x162)]['map'](({name:_0x19a4b9})=>_0x19a4b9));globals['setGlobal'](_0xacf120[_0x3fbfdd(0xe5)],_0x45ba0f);}}catch(_0x4199cd){logger[_0x3fbfdd(0xcd)](_0x3fbfdd(0x121)+util[_0x3fbfdd(0x116)](_0x4199cd));}_0xacf120['dtZSN'](_0xc90160);})[_0x6d2aa0(0x165)](_0x5342a0);});const a11_0x4aed21={};a11_0x4aed21[a11_0x388c89(0xc9)]='bstack',a11_0x4aed21[a11_0x388c89(0xf0)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x388c89(0xd2)],After(a11_0x4aed21,function(_0xc1cc53,_0x1b8055){const _0x34de4c=a11_0x388c89,_0x5180d3={'ugEfV':function(_0x486626,_0x1ea630){return _0x486626>_0x1ea630;},'ftMty':function(_0x38c401,_0x43eb97){return _0x38c401===_0x43eb97;},'nXYsH':'failed','dBxjJ':function(_0x390f35,_0x1ab1fd){return _0x390f35>_0x1ab1fd;},'urCCM':function(_0x25f9fb,_0x12f93f,_0x270a8a,_0x3eca1e){return _0x25f9fb(_0x12f93f,_0x270a8a,_0x3eca1e);},'eQIJy':_0x34de4c(0xd0),'DlMjn':function(_0x53a0a6,_0x458a22,_0x3ee42c){return _0x53a0a6(_0x458a22,_0x3ee42c);},'lQSum':_0x34de4c(0xff),'dmZAj':_0x34de4c(0x110),'Bveto':_0x34de4c(0xe6),'dxssT':function(_0x562f9b){return _0x562f9b();},'qOVTl':function(_0x3b34cb,_0x351b21,_0x11cf51,_0xaf91b5){return _0x3b34cb(_0x351b21,_0x11cf51,_0xaf91b5);},'BrHjU':_0x34de4c(0x13a),'Ihpmz':_0x34de4c(0x16f),'FlMpu':_0x34de4c(0xf2),'tYmhi':_0x34de4c(0xe0),'oZhvZ':_0x34de4c(0x12f),'mDiDG':_0x34de4c(0x137),'yGEQC':function(_0x43ef4d,_0x48340f){return _0x43ef4d>_0x48340f;},'IWBAS':_0x34de4c(0xc6)};logger[_0x34de4c(0xcd)](_0x5180d3[_0x34de4c(0xcf)]),workerDetails[_0x34de4c(0x122)][_0x34de4c(0x11a)]=_0xc1cc53,new Promise(async _0x107b87=>{const _0x288b9f=_0x34de4c;let _0x13df28=![],_0x4b110a=![],_0x362a0e=![];try{global[_0x288b9f(0x105)]&&_0x5180d3['ugEfV'](global[_0x288b9f(0x105)][_0x288b9f(0xd9)],0x0)&&(_0x4b110a=!![]),playwrightPatcher&&global[_0x288b9f(0x10b)]&&global['__workerDetails'][_0x288b9f(0x135)]&&(_0x362a0e=!![],logger[_0x288b9f(0xcd)](_0x288b9f(0x136)+!!global['__workerDetails'][_0x288b9f(0x135)]));}catch(_0x410306){logger[_0x288b9f(0xcd)]('Error\x20determining\x20test\x20flow:\x20'+_0x410306);}logger[_0x288b9f(0xcd)](_0x288b9f(0xa2)+_0x4b110a+_0x288b9f(0xd5)+_0x362a0e);const _0x1f31e6=_0xc1cc53[_0x288b9f(0x10a)][_0x288b9f(0x152)][_0x288b9f(0x15f)]()[_0x288b9f(0x9a)](),_0xb6e925=_0x5180d3[_0x288b9f(0x150)](_0x1f31e6,_0x5180d3[_0x288b9f(0x100)])||_0x5180d3[_0x288b9f(0x150)](_0x1f31e6,'6'),_0x1f9555=_0xb6e925?_0xc1cc53['result']['message']:null;if(_0xb6e925)try{global[_0x288b9f(0x120)][_0x288b9f(0xbb)](_0xc1cc53[_0x288b9f(0x10a)][_0x288b9f(0x99)]),global[_0x288b9f(0x9f)]=!![];}catch(_0x2caf5a){logger[_0x288b9f(0xcd)](_0x288b9f(0x142)+_0x2caf5a);}if(_0x4b110a)try{global[_0x288b9f(0x105)]&&_0x5180d3['dBxjJ'](global['__drivers'][_0x288b9f(0xd9)],0x1)&&(await global[_0x288b9f(0xa3)](),global[_0x288b9f(0x105)][_0x288b9f(0x126)](),global[_0x288b9f(0x120)]=[],global[_0x288b9f(0x9f)]=![]),global[_0x288b9f(0x105)]&&global[_0x288b9f(0x105)][0x0]&&(await global['__drivers'][0x0][_0x288b9f(0x11f)],_0x13df28=!![],!global[_0x288b9f(0x159)]&&await global[_0x288b9f(0x105)][0x0][_0x288b9f(0xdd)](_0x288b9f(0xaf)+_0xc1cc53[_0x288b9f(0xb4)][_0x288b9f(0xc9)]+_0x288b9f(0xba)),_0xb6e925?await _0x5180d3[_0x288b9f(0x123)](markSessionStatus,global[_0x288b9f(0x105)][0x0],_0x5180d3[_0x288b9f(0x100)],global['__error_messages__'][_0x288b9f(0xf1)](_0x5180d3[_0x288b9f(0xd8)])):await _0x5180d3['DlMjn'](markSessionStatus,global[_0x288b9f(0x105)][0x0],_0x5180d3[_0x288b9f(0xb3)]));}catch(_0x5a82c7){logger[_0x288b9f(0xcd)]('Error:\x20at\x20After\x20(Selenium):\x20'+util['format'](_0x5a82c7));}if(_0x362a0e)try{const _0x48ba5b=_0xb6e925?_0x5180d3[_0x288b9f(0x100)]:_0x5180d3['lQSum'];await playwrightPatcher[_0x288b9f(0x11b)](_0xc1cc53,_0x48ba5b,_0x1f9555),logger['debug'](_0x5180d3[_0x288b9f(0x16b)]);}catch(_0x4f996d){logger[_0x288b9f(0xcd)]('Error:\x20at\x20After\x20(Playwright):\x20'+util[_0x288b9f(0x116)](_0x4f996d));try{playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher['executeDeferredCloses'](),logger[_0x288b9f(0xcd)](_0x5180d3[_0x288b9f(0xc1)]));}catch(_0x494dbb){logger[_0x288b9f(0xcd)](_0x288b9f(0x10c)+util['format'](_0x494dbb));}}try{if(_0x5180d3['dxssT'](shouldProcessEventForTesthub)){const _0x5be8de=TestDetails[_0x288b9f(0xa5)](_0xc1cc53[_0x288b9f(0x98)]);let _0x570446=null;global['__drivers']&&global['__drivers'][0x0]&&(_0x570446=await _0x5180d3['qOVTl'](sendPlatformDetails,global['__drivers'][0x0],_0x5be8de,!![]));const _0x346065={};_0x346065[_0x288b9f(0x155)]=_0x5be8de,_0x346065[_0x288b9f(0xdf)]=_0x570446;const _0x2c46a1=_0x346065,_0xff4dab={};_0xff4dab[_0x288b9f(0xa1)]=_0x5180d3[_0x288b9f(0x9b)],_0xff4dab[_0x288b9f(0xf5)]=_0x2c46a1,await SessionHandler[_0x288b9f(0x13b)](_0xff4dab);}}catch(_0x206b28){logger['debug'](_0x288b9f(0x117)+util['format'](_0x206b28));}try{if(globals['getGlobal'](_0x5180d3['Ihpmz'])&&globals[_0x288b9f(0xc4)](_0x5180d3[_0x288b9f(0x115)])){logger[_0x288b9f(0x118)](_0x5180d3[_0x288b9f(0xdc)]);const _0x56a409=TestDetails['getTestUUID'](_0xc1cc53['testCaseStartedId']),_0x3662b2={};_0x3662b2[_0x288b9f(0xb0)]=_0x56a409,_0x3662b2[_0x288b9f(0x146)]=process['env'][testHubConstants[_0x288b9f(0xd4)]['BROWSERSTACK_TESTHUB_UUID']],_0x3662b2[_0x288b9f(0x9c)]=process[_0x288b9f(0x103)][testHubConstants[_0x288b9f(0xd4)][_0x288b9f(0xb1)]];const _0xc43d50=_0x3662b2;logger['debug'](_0x288b9f(0xed)+JSON['stringify'](_0xc43d50)),logger['debug'](_0x5180d3[_0x288b9f(0x141)]),global['__drivers']&&global[_0x288b9f(0x105)][0x0]&&(logger['debug'](util[_0x288b9f(0x116)](await global['__drivers'][0x0][_0x288b9f(0x158)](scripts[_0x288b9f(0x107)],{'method':global[_0x288b9f(0xb6)]}))),await global['__drivers'][0x0][_0x288b9f(0x158)](scripts['saveTestResults'],_0xc43d50)),logger['info'](_0x5180d3[_0x288b9f(0x12e)]);}}catch(_0x38cc43){logger[_0x288b9f(0x128)](_0x288b9f(0x12b)+util[_0x288b9f(0x116)]);}if(_0x13df28)try{global[_0x288b9f(0x105)][0x0]&&_0x5180d3[_0x288b9f(0xe7)](global[_0x288b9f(0x105)][0x0][_0x288b9f(0x13e)],0x0)&&await global[_0x288b9f(0x105)][0x0][_0x288b9f(0xf8)]();}catch(_0x37fe19){logger['debug'](_0x288b9f(0xa7)+_0x37fe19);}_0x5180d3[_0x288b9f(0xcb)](_0x107b87);})['finally'](()=>_0x1b8055());});const a11_0x247b57={};a11_0x247b57[a11_0x388c89(0xc9)]=a11_0x388c89(0xd7),a11_0x247b57[a11_0x388c89(0xf0)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x388c89(0xd2)],AfterStep(a11_0x247b57,function(_0xfcabce,_0x18ad8c){const _0x3e77bb=a11_0x388c89,_0x16e12b={'TQXxw':function(_0x426d23,_0x11c641){return _0x426d23===_0x11c641;},'mUfkd':_0x3e77bb(0x15c),'NkLsg':function(_0x695286,_0x3c87fd){return _0x695286===_0x3c87fd;},'wrfRq':function(_0x434472,_0x4f2afd){return _0x434472!==_0x4f2afd;},'HWGqu':function(_0x24be02,_0x1ebef0,_0x337189){return _0x24be02(_0x1ebef0,_0x337189);},'rxFoy':function(_0x4a5e33,_0x55602d){return _0x4a5e33+_0x55602d;},'CgPkn':function(_0xb3b0f2,_0x4440ee){return _0xb3b0f2+_0x4440ee;},'PRaRd':function(_0xfab8aa,_0x108f4b){return _0xfab8aa+_0x108f4b;},'PUPHV':_0x3e77bb(0xf4),'dGQbo':_0x3e77bb(0xe8),'UwOnJ':'error','riOdb':function(_0x259db3,_0x2d856b,_0x20c608){return _0x259db3(_0x2d856b,_0x20c608);},'TpCUh':function(_0x1281af,_0x489285){return _0x1281af!==_0x489285;},'klMMJ':function(_0x47dfe0,_0x4134a3){return _0x47dfe0+_0x4134a3;},'fzUOF':_0x3e77bb(0x11c),'iIAEz':_0x3e77bb(0x118),'ovRgb':function(_0x2e6926,_0x368ec9,_0x509dbb){return _0x2e6926(_0x368ec9,_0x509dbb);},'idUAG':_0x3e77bb(0x163),'STMYh':function(_0x160cc1){return _0x160cc1();},'mwpCG':_0x3e77bb(0x167)};logger[_0x3e77bb(0xcd)](_0x16e12b['mwpCG']);const _0x568ed5=async(_0x5c9ef3,_0x5c7ea8)=>{const _0x805b79=_0x3e77bb;global[_0x805b79(0x105)]&&global['__drivers'][0x0]&&await global['__drivers'][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x5c9ef3+_0x805b79(0x112)+_0x5c7ea8+_0x805b79(0xba));};new Promise(async _0x367f8a=>{const _0x1b989c=_0x3e77bb;try{_0x16e12b[_0x1b989c(0xad)](_0xfcabce[_0x1b989c(0x10a)][_0x1b989c(0x152)][_0x1b989c(0x15f)]()['toLowerCase'](),_0x16e12b[_0x1b989c(0xe4)])||_0x16e12b[_0x1b989c(0xd3)](_0xfcabce[_0x1b989c(0x10a)]['status'][_0x1b989c(0x15f)]()['toLowerCase'](),'6')?(global[_0x1b989c(0x9f)]=!![],global[_0x1b989c(0x120)][_0x1b989c(0xbb)](_0xfcabce[_0x1b989c(0x10a)][_0x1b989c(0x99)]),_0x16e12b['wrfRq'](_0xfcabce[_0x1b989c(0x132)],undefined)?await _0x16e12b[_0x1b989c(0x104)](_0x568ed5,JSON[_0x1b989c(0x14c)](_0x16e12b['rxFoy'](_0x16e12b[_0x1b989c(0x147)](_0x16e12b[_0x1b989c(0x13c)](_0x16e12b[_0x1b989c(0xe3)],'\x22'+_0xfcabce['pickleStep'][_0x1b989c(0xd1)]+'\x22\x20'),_0x16e12b[_0x1b989c(0xcc)]),_0xfcabce[_0x1b989c(0x10a)][_0x1b989c(0x99)])),_0x16e12b[_0x1b989c(0x13d)]):await _0x16e12b[_0x1b989c(0xfc)](_0x568ed5,JSON['stringify'](_0x16e12b[_0x1b989c(0x13c)](_0x16e12b[_0x1b989c(0xe3)],_0xfcabce[_0x1b989c(0x10a)]['message'])),_0x16e12b[_0x1b989c(0x13d)])):_0x16e12b[_0x1b989c(0x15d)](_0xfcabce[_0x1b989c(0x132)],undefined)?await _0x16e12b[_0x1b989c(0x104)](_0x568ed5,JSON['stringify'](_0x16e12b['klMMJ'](_0x16e12b['fzUOF'],'\x22'+_0xfcabce[_0x1b989c(0x132)][_0x1b989c(0xd1)]+'\x22')),_0x16e12b[_0x1b989c(0x16e)]):await _0x16e12b[_0x1b989c(0xfa)](_0x568ed5,JSON[_0x1b989c(0x14c)](_0x16e12b[_0x1b989c(0xb9)]),_0x16e12b[_0x1b989c(0x16e)]),global[_0x1b989c(0x105)]&&global[_0x1b989c(0x105)][0x0]&&global[_0x1b989c(0x105)][0x0][_0x1b989c(0x11f)][_0x1b989c(0x102)](_0x4f736f=>{})[_0x1b989c(0xbf)](_0xe1c3b4=>{const _0x588147=_0x1b989c;logger[_0x588147(0xcd)](_0x588147(0x169)+util['format'](_0xe1c3b4));});}catch(_0x134c3a){logger[_0x1b989c(0xcd)](_0x1b989c(0xc5)+_0x134c3a);}_0x16e12b['STMYh'](_0x367f8a);})[_0x3e77bb(0x165)](()=>_0x18ad8c());});const a11_0x13897e={};a11_0x13897e[a11_0x388c89(0xc9)]='bstack',a11_0x13897e[a11_0x388c89(0xf0)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x388c89(0xd2)],AfterAll(a11_0x13897e,async function(_0x1fb4ea,_0x2c1b5a){const _0x45a188=a11_0x388c89,_0xb99bd3={'aVWEC':_0x45a188(0x9e),'NGYSS':'Cleaned\x20up\x20Playwright\x20close\x20tracker','TODaG':function(_0x1d9c0b){return _0x1d9c0b();},'JDsxo':_0x45a188(0xd6)};logger[_0x45a188(0xcd)](_0xb99bd3[_0x45a188(0x12c)]),await new Promise(async _0x2d9a48=>{const _0x31dad1=_0x45a188,_0x24527f=_0xb99bd3[_0x31dad1(0x16c)][_0x31dad1(0xf9)]('|');let _0x1d2605=0x0;while(!![]){switch(_0x24527f[_0x1d2605++]){case'0':await global[_0x31dad1(0xa3)]();continue;case'1':try{playwrightPatcher&&playwrightPatcher[_0x31dad1(0xf6)]&&(await playwrightPatcher[_0x31dad1(0xf6)](),playwrightPatcher[_0x31dad1(0xde)]&&playwrightPatcher[_0x31dad1(0xde)][_0x31dad1(0x161)](),logger[_0x31dad1(0xcd)](_0xb99bd3[_0x31dad1(0xb7)]));}catch(_0x394039){logger['debug']('Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20'+util[_0x31dad1(0x116)](_0x394039));}continue;case'2':PerformanceTester['stopMonitoring']();continue;case'3':await RequestQueueHandler[_0x31dad1(0xf7)]()[_0x31dad1(0xce)]();continue;case'4':_0xb99bd3[_0x31dad1(0xbc)](_0x2d9a48);continue;}break;}});});
|
|
1
|
+
const a11_0x39ae95=a11_0x5ee1;(function(_0x90fef8,_0x118481){const _0x3244fc=a11_0x5ee1,_0x4a1735=_0x90fef8();while(!![]){try{const _0x3ad59d=-parseInt(_0x3244fc(0xb3))/0x1+parseInt(_0x3244fc(0xf7))/0x2+parseInt(_0x3244fc(0x11f))/0x3*(-parseInt(_0x3244fc(0xa1))/0x4)+-parseInt(_0x3244fc(0x153))/0x5+parseInt(_0x3244fc(0xde))/0x6*(parseInt(_0x3244fc(0x13f))/0x7)+-parseInt(_0x3244fc(0xbf))/0x8*(-parseInt(_0x3244fc(0x13e))/0x9)+parseInt(_0x3244fc(0x149))/0xa;if(_0x3ad59d===_0x118481)break;else _0x4a1735['push'](_0x4a1735['shift']());}catch(_0x44e92d){_0x4a1735['push'](_0x4a1735['shift']());}}}(a11_0x52eb,0xe03cf));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a11_0x39ae95(0xc4)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a11_0x39ae95(0x99)),setKeepAlive=require(a11_0x39ae95(0x103)),util=require(a11_0x39ae95(0xac)),PerformanceTester=require(a11_0x39ae95(0xf6)),{commandRepository}=require(a11_0x39ae95(0xd1)),cucumberModule=requireModule('@cucumber/cucumber/lib/index.js','@cucumber/cucumber'),logger=require(a11_0x39ae95(0x9a))[a11_0x39ae95(0xea)],{shouldProcessEventForTesthub}=require(a11_0x39ae95(0x11c)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a11_0x39ae95(0xf4)),TestDetails=require(a11_0x39ae95(0xd0)),RequestQueueHandler=require(a11_0x39ae95(0x151)),{o11yErrorHandler}=require(a11_0x39ae95(0x15f)),MyReporter=require(a11_0x39ae95(0x111)),SessionHandler=require(a11_0x39ae95(0xdd)),scripts=require(a11_0x39ae95(0xb4)),globals=require('../../helpers/globals'),testHubConstants=require(a11_0x39ae95(0x123)),{shouldScanTestForAccessibility}=require(a11_0x39ae95(0xe6)),{isUndefined}=require(a11_0x39ae95(0xc6)),helper=require('../../helpers/helper'),a11_0x2fb108={};a11_0x2fb108[a11_0x39ae95(0xf8)]=undefined,a11_0x2fb108[a11_0x39ae95(0xc7)]={},a11_0x2fb108['o11ySyncDone']=![],a11_0x2fb108[a11_0x39ae95(0xf1)]=null,a11_0x2fb108[a11_0x39ae95(0x137)]=![],a11_0x2fb108[a11_0x39ae95(0xc7)]['id']=undefined,a11_0x2fb108[a11_0x39ae95(0xc7)]['testInfo']=undefined;const workerDetails=a11_0x2fb108;global[a11_0x39ae95(0x136)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x2290ea){const _0xcb0ae8=a11_0x39ae95,_0x229a0e=workerDetails[_0xcb0ae8(0xc7)][_0xcb0ae8(0xc0)];if(!_0x229a0e)return;await MyReporter[_0xcb0ae8(0xbd)](_0x229a0e,_0x2290ea);}),registerListeners=()=>{const _0x320a5b=a11_0x39ae95,_0x34243b={};_0x34243b[_0x320a5b(0xc5)]=_0x320a5b(0x113);const _0x1e3b71=_0x34243b;logger[_0x320a5b(0xa7)](_0x1e3b71[_0x320a5b(0xc5)]),process[_0x320a5b(0x163)]('bs:addLog:'+process['pid']),process['on'](_0x320a5b(0x134)+process[_0x320a5b(0x16b)],sendTestLog),PerformanceTester['startMonitoring']();};modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a11_0x39ae95(0xe1)],AfterAll=cucumberModule[a11_0x39ae95(0xca)],BeforeAll=cucumberModule[a11_0x39ae95(0x160)],AfterStep=cucumberModule[a11_0x39ae95(0x16a)],configuration=process[a11_0x39ae95(0xcb)][a11_0x39ae95(0xa3)],bstackConfig=process[a11_0x39ae95(0xcb)]['BSTACK_CONFIG'];if(configuration!==undefined){const config=JSON[a11_0x39ae95(0x133)](configuration);isBrowserstackInfra()?(global[a11_0x39ae95(0xbb)]=isTrue(config[a11_0x39ae95(0xf2)]),global['__skipSessionStatus']=isTrue(config[a11_0x39ae95(0xc2)])):(global[a11_0x39ae95(0xbb)]=!![],global[a11_0x39ae95(0x12d)]=!![]);!helper[a11_0x39ae95(0xdf)](a11_0x39ae95(0x13a))&&(logger['debug']('Performing\x20Selenium\x20Patching'),shouldProcessEventForTesthub()?require('../../index')['browserstackAgentV2'](config,null,!![]):require(a11_0x39ae95(0xf3))[a11_0x39ae95(0x116)](config));global[a11_0x39ae95(0xa4)]=config[a11_0x39ae95(0x112)]||{};if(helper[a11_0x39ae95(0xdf)]('@playwright/test'))try{logger[a11_0x39ae95(0xa7)](a11_0x39ae95(0x12b)),playwrightPatcher=require(a11_0x39ae95(0x161)),playwrightPatcher[a11_0x39ae95(0xd3)](config),logger['debug'](a11_0x39ae95(0xfc));}catch(a11_0x557ca2){logger['debug'](a11_0x39ae95(0xd2)+util['format'](a11_0x557ca2));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a11_0x39ae95(0x133)](bstackConfig);browserStackConfig&&(commandRepository[a11_0x39ae95(0xe0)](browserStackConfig),commandRepository['setFramework'](a11_0x39ae95(0xec)));}function a11_0x5ee1(_0x115c81,_0x936a41){const _0x52ebf5=a11_0x52eb();return a11_0x5ee1=function(_0x5ee178,_0x1fa7ec){_0x5ee178=_0x5ee178-0x96;let _0x47a0a1=_0x52ebf5[_0x5ee178];return _0x47a0a1;},a11_0x5ee1(_0x115c81,_0x936a41);}global[a11_0x39ae95(0xcd)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a11_0x39ae95(0x169)]=_0x425ec6=>{const _0x386cbb=a11_0x39ae95,_0x30f25d={'sdnng':function(_0x517e8b,_0x44b8a9){return _0x517e8b(_0x44b8a9);}};global[_0x386cbb(0xcd)]=_0x425ec6,_0x30f25d[_0x386cbb(0x135)](__setDefaultTimeout,_0x425ec6);};const a11_0x340e97={};a11_0x340e97[a11_0x39ae95(0x10a)]='bstack',BeforeAll(a11_0x340e97,async function(){const _0x3a6dc3=a11_0x39ae95,_0x437223={'iXjjX':function(_0x595b87,_0x400512,_0x2edb7a,_0xad63f){return _0x595b87(_0x400512,_0x2edb7a,_0xad63f);},'UHvsS':'failed','NBBvK':_0x3a6dc3(0xda),'qbIQg':function(_0x425332,_0xd136ac,_0x4bb09f){return _0x425332(_0xd136ac,_0x4bb09f);},'iTGsR':'passed','RfMSe':_0x3a6dc3(0xe4),'ReTyP':function(_0x91b93,_0x458d9c){return _0x91b93(_0x458d9c);},'nQnav':'../v2/browserstackCLI','NSsWr':'../v2/cliUtils','qHiiO':function(_0x4a224e,_0x16f21b){return _0x4a224e(_0x16f21b);},'xejHy':_0x3a6dc3(0x99),'lADjP':_0x3a6dc3(0xb5),'wbFKf':function(_0x360f1a){return _0x360f1a();},'JxuPg':function(_0x3806a0){return _0x3806a0();},'IGdrr':function(_0x866c38,_0x1436c6){return _0x866c38(_0x1436c6);}};PerformanceTester[_0x3a6dc3(0xa8)](),logger['debug'](_0x437223[_0x3a6dc3(0x14c)]),global[_0x3a6dc3(0x141)]=[],global[_0x3a6dc3(0x14a)]=![];if(playwrightPatcher)try{const _0x1415d5=_0x437223[_0x3a6dc3(0x168)](require,_0x437223[_0x3a6dc3(0x14d)]),_0x1031b6=_0x437223['ReTyP'](require,_0x437223[_0x3a6dc3(0x107)]),{FRAMEWORKS:_0x4ad1a3}=_0x437223[_0x3a6dc3(0x9e)](require,_0x437223[_0x3a6dc3(0x96)]);_0x1415d5[_0x3a6dc3(0xfa)]()[_0x3a6dc3(0xcf)]()&&(logger['debug'](_0x437223[_0x3a6dc3(0xfd)]),_0x1031b6[_0x3a6dc3(0x119)](_0x4ad1a3[_0x3a6dc3(0x155)],_0x4ad1a3['PLAYWRIGHT']),await _0x1415d5['getInstance']()[_0x3a6dc3(0xef)]());}catch(_0x2a083b){logger[_0x3a6dc3(0xa7)](_0x3a6dc3(0xe2)+util[_0x3a6dc3(0x105)](_0x2a083b));}_0x437223['wbFKf'](shouldProcessEventForTesthub)&&(_0x437223[_0x3a6dc3(0xe5)](registerListeners),_0x437223[_0x3a6dc3(0x154)](addRequestSpy,![])),global[_0x3a6dc3(0xc9)]=async()=>{const _0x2775ff=_0x3a6dc3;let _0x17bba7=![];try{global[_0x2775ff(0x97)]&&global[_0x2775ff(0x97)][0x0]&&(await global[_0x2775ff(0x97)][0x0][_0x2775ff(0xfe)],_0x17bba7=!![],global[_0x2775ff(0x14a)]?await _0x437223[_0x2775ff(0xad)](markSessionStatus,global[_0x2775ff(0x97)][0x0],_0x437223[_0x2775ff(0xd6)],global[_0x2775ff(0x141)]['join'](_0x437223[_0x2775ff(0xb1)])):await _0x437223[_0x2775ff(0x158)](markSessionStatus,global['__drivers'][0x0],_0x437223[_0x2775ff(0x10b)]));}catch(_0x44703d){logger['debug'](_0x2775ff(0x15b)+_0x44703d);}global[_0x2775ff(0x141)]=[],global[_0x2775ff(0x14a)]=![];if(_0x17bba7)try{await global[_0x2775ff(0x97)][0x0][_0x2775ff(0xf9)](),global[_0x2775ff(0x97)][0x0]['session_'][_0x2775ff(0xae)](_0x411459=>{const _0x2304d7=_0x2775ff;logger[_0x2304d7(0xa7)]('Error:\x20in\x20quitting\x20driver\x20'+_0x411459[_0x2304d7(0x132)]());})[_0x2775ff(0xe7)](_0x1c34a7=>{});}catch(_0x2c6305){logger[_0x2775ff(0xa7)](_0x2775ff(0x152)+_0x2c6305);}};});const a11_0x2bebec={};a11_0x2bebec['name']=a11_0x39ae95(0xbc),a11_0x2bebec['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],Before(a11_0x2bebec,function(_0x2cc51f,_0x5dfb53){const _0x594aaa=a11_0x39ae95,_0x9c7f84={'rfUyK':function(_0x3fd756,_0x3f4dfb){return _0x3fd756>_0x3f4dfb;},'FyvkC':function(_0x5dd4fb,_0x4c506f){return _0x5dd4fb(_0x4c506f);},'GRksL':function(_0x4d5dd9,_0x2f068a,_0x491c9b,_0x1f8abe){return _0x4d5dd9(_0x2f068a,_0x491c9b,_0x1f8abe);},'xtppn':'bstackA11yShouldScan','CbHES':function(_0x466236){return _0x466236();},'PldaH':_0x594aaa(0x110)};commandRepository[_0x594aaa(0x10d)](_0x2cc51f[_0x594aaa(0x166)][_0x594aaa(0x10a)]),logger['debug'](_0x9c7f84['PldaH']),new Promise(async _0x10b21a=>{const _0x5a851e=_0x594aaa;try{global[_0x5a851e(0x97)]&&_0x9c7f84['rfUyK'](global['__drivers'][_0x5a851e(0x121)],0x1)&&(await global[_0x5a851e(0xc9)](),global[_0x5a851e(0x97)]['shift']()),global[_0x5a851e(0x97)]&&global[_0x5a851e(0x97)][0x0]&&global[_0x5a851e(0x97)][0x0][_0x5a851e(0xfb)]&&_0x9c7f84[_0x5a851e(0x15d)](global['__drivers'][0x0][_0x5a851e(0xfb)],0x0)&&await global[_0x5a851e(0xc9)]();}catch(_0x4635e2){logger[_0x5a851e(0xa7)](_0x5a851e(0x127)+_0x4635e2);}workerDetails[_0x5a851e(0xc7)][_0x5a851e(0xc0)]=_0x2cc51f;if(playwrightPatcher)try{await playwrightPatcher[_0x5a851e(0x12a)](_0x2cc51f);}catch(_0x1a24f1){logger['debug'](_0x5a851e(0x11e)+util[_0x5a851e(0x105)](_0x1a24f1));}try{if(!_0x9c7f84[_0x5a851e(0xa0)](isUndefined,_0x2cc51f[_0x5a851e(0x166)][_0x5a851e(0x140)])){const _0x453b20=_0x9c7f84['GRksL'](shouldScanTestForAccessibility,null,![],_0x2cc51f[_0x5a851e(0x166)][_0x5a851e(0x140)][_0x5a851e(0x10e)](({name:_0xf63e55})=>_0xf63e55));globals[_0x5a851e(0xb0)](_0x9c7f84['xtppn'],_0x453b20);}}catch(_0x556891){logger[_0x5a851e(0xa7)](_0x5a851e(0xf0)+util['format'](_0x556891));}_0x9c7f84[_0x5a851e(0xe8)](_0x10b21a);})[_0x594aaa(0x13b)](_0x5dfb53);});const a11_0x14292d={};a11_0x14292d[a11_0x39ae95(0x10a)]='bstack',a11_0x14292d[a11_0x39ae95(0x164)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x39ae95(0x120)],After(a11_0x14292d,function(_0x160a48,_0x11f8a3){const _0x2fc114=a11_0x39ae95,_0x254037={'zSnBZ':function(_0x29d2f6,_0xef53bb){return _0x29d2f6>_0xef53bb;},'tzaEQ':function(_0x234d77,_0x36e792){return _0x234d77===_0x36e792;},'vIZUu':'failed','fnVjm':function(_0x288852,_0x37218a){return _0x288852===_0x37218a;},'GbaMY':function(_0x18ee96,_0x46c4e6){return _0x18ee96>_0x46c4e6;},'RHFyx':function(_0x328315,_0x3621f0,_0x259257,_0x49090f){return _0x328315(_0x3621f0,_0x259257,_0x49090f);},'coVUH':'\x20|\x20','VcjjL':function(_0x24e9d6,_0x9d88d6,_0x471a62){return _0x24e9d6(_0x9d88d6,_0x471a62);},'ALZVC':_0x2fc114(0x124),'CoBuc':_0x2fc114(0x12f),'Ucdmj':_0x2fc114(0xa9),'ngXtc':function(_0x31b342){return _0x31b342();},'VTKIz':function(_0x5a3ceb,_0x11efb4,_0x126cea,_0x5620b3){return _0x5a3ceb(_0x11efb4,_0x126cea,_0x5620b3);},'nazAf':_0x2fc114(0x130),'oKwty':'isAccessibilityPlatform','iTWJg':_0x2fc114(0xc1),'HURdE':_0x2fc114(0x98),'TIqyq':_0x2fc114(0x14f),'zTQaR':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','hseos':function(_0x4f3c36){return _0x4f3c36();},'qzAfS':'Inside\x20browserstack\x20After'};logger[_0x2fc114(0xa7)](_0x254037[_0x2fc114(0x10f)]),workerDetails['currentTest'][_0x2fc114(0xc0)]=_0x160a48,new Promise(async _0x1ac93f=>{const _0x54ff0c=_0x2fc114;let _0x12272b=![],_0x1618d1=![],_0x16a4ef=![];try{global[_0x54ff0c(0x97)]&&_0x254037['zSnBZ'](global['__drivers']['length'],0x0)&&(_0x1618d1=!![]),playwrightPatcher&&global[_0x54ff0c(0x136)]&&global[_0x54ff0c(0x136)]['pwPage']&&(_0x16a4ef=!![],logger[_0x54ff0c(0xa7)](_0x54ff0c(0x129)+!!global[_0x54ff0c(0x136)][_0x54ff0c(0xf1)]));}catch(_0x2a1a46){logger['debug']('Error\x20determining\x20test\x20flow:\x20'+_0x2a1a46);}logger['debug'](_0x54ff0c(0xb2)+_0x1618d1+',\x20isPlaywrightFlow='+_0x16a4ef);const _0x5cab67=_0x160a48['result'][_0x54ff0c(0x106)][_0x54ff0c(0x148)]()['toLowerCase'](),_0x46a524=_0x254037[_0x54ff0c(0xed)](_0x5cab67,_0x254037['vIZUu'])||_0x254037['fnVjm'](_0x5cab67,'6'),_0x11741f=_0x46a524?_0x160a48[_0x54ff0c(0xee)][_0x54ff0c(0x9f)]:null;if(_0x46a524)try{global[_0x54ff0c(0x141)][_0x54ff0c(0x9d)](_0x160a48[_0x54ff0c(0xee)][_0x54ff0c(0x9f)]),global['__sessionFailed']=!![];}catch(_0x4a760c){logger['debug'](_0x54ff0c(0x11d)+_0x4a760c);}if(_0x1618d1)try{global[_0x54ff0c(0x97)]&&_0x254037[_0x54ff0c(0x147)](global[_0x54ff0c(0x97)][_0x54ff0c(0x121)],0x1)&&(await global['driverCleanup'](),global[_0x54ff0c(0x97)][_0x54ff0c(0xbe)](),global[_0x54ff0c(0x141)]=[],global[_0x54ff0c(0x14a)]=![]),global[_0x54ff0c(0x97)]&&global[_0x54ff0c(0x97)][0x0]&&(await global['__drivers'][0x0][_0x54ff0c(0xfe)],_0x12272b=!![],!global[_0x54ff0c(0xbb)]&&await global[_0x54ff0c(0x97)][0x0][_0x54ff0c(0x146)](_0x54ff0c(0x159)+_0x160a48['pickle'][_0x54ff0c(0x10a)]+_0x54ff0c(0x13d)),_0x46a524?await _0x254037[_0x54ff0c(0xeb)](markSessionStatus,global[_0x54ff0c(0x97)][0x0],_0x254037[_0x54ff0c(0x125)],global[_0x54ff0c(0x141)]['join'](_0x254037[_0x54ff0c(0x117)])):await _0x254037['VcjjL'](markSessionStatus,global['__drivers'][0x0],_0x254037['ALZVC']));}catch(_0x3c5288){logger[_0x54ff0c(0xa7)](_0x54ff0c(0xab)+util[_0x54ff0c(0x105)](_0x3c5288));}if(_0x16a4ef)try{const _0x56215c=_0x46a524?_0x254037['vIZUu']:_0x254037[_0x54ff0c(0x138)];await playwrightPatcher[_0x54ff0c(0x162)](_0x160a48,_0x56215c,_0x11741f),logger[_0x54ff0c(0xa7)](_0x254037['CoBuc']);}catch(_0x43f7f4){logger[_0x54ff0c(0xa7)]('Error:\x20at\x20After\x20(Playwright):\x20'+util[_0x54ff0c(0x105)](_0x43f7f4));try{playwrightPatcher[_0x54ff0c(0x10c)]&&(await playwrightPatcher[_0x54ff0c(0x10c)](),logger[_0x54ff0c(0xa7)](_0x254037['Ucdmj']));}catch(_0xf48089){logger[_0x54ff0c(0xa7)]('Error\x20executing\x20fallback\x20deferred\x20closes:\x20'+util[_0x54ff0c(0x105)](_0xf48089));}}try{if(_0x254037['ngXtc'](shouldProcessEventForTesthub)){const _0x4c0138=TestDetails[_0x54ff0c(0x139)](_0x160a48[_0x54ff0c(0x12c)]);let _0x595ffe=null;global[_0x54ff0c(0x97)]&&global[_0x54ff0c(0x97)][0x0]&&(_0x595ffe=await _0x254037['VTKIz'](sendPlatformDetails,global[_0x54ff0c(0x97)][0x0],_0x4c0138,!![]));const _0x31e717={};_0x31e717[_0x54ff0c(0xa2)]=_0x4c0138,_0x31e717[_0x54ff0c(0x156)]=_0x595ffe;const _0x58401d=_0x31e717,_0x282ebb={};_0x282ebb[_0x54ff0c(0x102)]=_0x254037[_0x54ff0c(0x104)],_0x282ebb['test_run']=_0x58401d,await SessionHandler[_0x54ff0c(0x15c)](_0x282ebb);}}catch(_0x24585e){logger[_0x54ff0c(0xa7)](_0x54ff0c(0x167)+util[_0x54ff0c(0x105)](_0x24585e));}try{if(globals[_0x54ff0c(0xb9)](_0x254037[_0x54ff0c(0x109)])&&globals['getGlobal'](_0x254037['iTWJg'])){logger[_0x54ff0c(0x144)](_0x254037['HURdE']);const _0x1b218f=TestDetails[_0x54ff0c(0x139)](_0x160a48[_0x54ff0c(0x12c)]),_0x122457={};_0x122457['thTestRunUuid']=_0x1b218f,_0x122457['thBuildUuid']=process[_0x54ff0c(0xcb)][testHubConstants[_0x54ff0c(0xe3)][_0x54ff0c(0xe9)]],_0x122457[_0x54ff0c(0xb7)]=process[_0x54ff0c(0xcb)][testHubConstants[_0x54ff0c(0xe3)][_0x54ff0c(0x14b)]];const _0x18fb21=_0x122457;logger['debug'](_0x54ff0c(0xdc)+JSON[_0x54ff0c(0x131)](_0x18fb21)),logger['debug'](_0x254037[_0x54ff0c(0x12e)]),global['__drivers']&&global['__drivers'][0x0]&&(logger[_0x54ff0c(0xa7)](util[_0x54ff0c(0x105)](await global[_0x54ff0c(0x97)][0x0][_0x54ff0c(0xcc)](scripts[_0x54ff0c(0x118)],{'method':global['browserstackSessionName']}))),await global[_0x54ff0c(0x97)][0x0][_0x54ff0c(0xcc)](scripts[_0x54ff0c(0x9c)],_0x18fb21)),logger[_0x54ff0c(0x144)](_0x254037['zTQaR']);}}catch(_0x35f309){logger[_0x54ff0c(0x122)](_0x54ff0c(0xaf)+util['format']);}if(_0x12272b)try{global[_0x54ff0c(0x97)][0x0]&&_0x254037[_0x54ff0c(0x115)](global['__drivers'][0x0][_0x54ff0c(0xfb)],0x0)&&await global[_0x54ff0c(0x97)][0x0][_0x54ff0c(0xf9)]();}catch(_0x295f41){logger['debug'](_0x54ff0c(0x126)+_0x295f41);}_0x254037['hseos'](_0x1ac93f);})[_0x2fc114(0x13b)](()=>_0x11f8a3());});const a11_0x4dff7d={};a11_0x4dff7d[a11_0x39ae95(0x10a)]=a11_0x39ae95(0xbc),a11_0x4dff7d[a11_0x39ae95(0x164)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x39ae95(0x120)],AfterStep(a11_0x4dff7d,function(_0x2d60ee,_0x31e95b){const _0x566f99=a11_0x39ae95,_0x128dcf={'UfWaI':function(_0x7974e8,_0x2e9476){return _0x7974e8===_0x2e9476;},'ffqxj':_0x566f99(0x13c),'YRqHs':function(_0x595381,_0x1d4bca){return _0x595381===_0x1d4bca;},'HzqFU':function(_0x39ec6c,_0x2de0f4){return _0x39ec6c!==_0x2de0f4;},'WUvEM':function(_0x208c40,_0x23e686,_0x29b395){return _0x208c40(_0x23e686,_0x29b395);},'iiOlI':function(_0x1b374e,_0x54b5a7){return _0x1b374e+_0x54b5a7;},'bpskt':function(_0x45ee93,_0x3dea90){return _0x45ee93+_0x3dea90;},'osbOk':function(_0x4c3fea,_0x422e6b){return _0x4c3fea+_0x422e6b;},'XQsCh':'Failed:\x20','HweKZ':'\x0aError:\x20','ihdHx':_0x566f99(0x122),'FdOoE':function(_0x5d1e49,_0x2d37b6){return _0x5d1e49+_0x2d37b6;},'PPcHf':function(_0x1b82fe,_0x7c66a0,_0xb8cf3a){return _0x1b82fe(_0x7c66a0,_0xb8cf3a);},'qzYct':function(_0x2bc2a5,_0x554402){return _0x2bc2a5+_0x554402;},'QaERP':_0x566f99(0x108),'nkqjP':'info','LuCQD':function(_0x5499ee,_0x118d6a,_0x427343){return _0x5499ee(_0x118d6a,_0x427343);},'ZGIMj':'Passed','fkuzr':function(_0xce4b53){return _0xce4b53();},'BaXdK':'Inside\x20browserstack\x20AfterStep'};logger[_0x566f99(0xa7)](_0x128dcf[_0x566f99(0x11a)]);const _0x504e80=async(_0x34e123,_0x3d227b)=>{const _0x56892d=_0x566f99;global[_0x56892d(0x97)]&&global[_0x56892d(0x97)][0x0]&&await global['__drivers'][0x0][_0x56892d(0x146)](_0x56892d(0xc3)+_0x34e123+_0x56892d(0xc8)+_0x3d227b+_0x56892d(0x13d));};new Promise(async _0x2d997b=>{const _0x1699ba=_0x566f99;try{_0x128dcf[_0x1699ba(0x143)](_0x2d60ee[_0x1699ba(0xee)]['status'][_0x1699ba(0x148)]()[_0x1699ba(0x101)](),_0x128dcf[_0x1699ba(0xb6)])||_0x128dcf[_0x1699ba(0x150)](_0x2d60ee['result'][_0x1699ba(0x106)][_0x1699ba(0x148)]()[_0x1699ba(0x101)](),'6')?(global[_0x1699ba(0x14a)]=!![],global[_0x1699ba(0x141)]['push'](_0x2d60ee[_0x1699ba(0xee)]['message']),_0x128dcf[_0x1699ba(0xd7)](_0x2d60ee['pickleStep'],undefined)?await _0x128dcf[_0x1699ba(0x100)](_0x504e80,JSON['stringify'](_0x128dcf[_0x1699ba(0xd8)](_0x128dcf[_0x1699ba(0xff)](_0x128dcf[_0x1699ba(0x11b)](_0x128dcf['XQsCh'],'\x22'+_0x2d60ee[_0x1699ba(0x145)][_0x1699ba(0x15a)]+'\x22\x20'),_0x128dcf[_0x1699ba(0xce)]),_0x2d60ee['result'][_0x1699ba(0x9f)])),_0x128dcf[_0x1699ba(0x114)]):await _0x128dcf[_0x1699ba(0x100)](_0x504e80,JSON[_0x1699ba(0x131)](_0x128dcf[_0x1699ba(0x16c)](_0x128dcf[_0x1699ba(0xd4)],_0x2d60ee[_0x1699ba(0xee)][_0x1699ba(0x9f)])),_0x128dcf['ihdHx'])):_0x128dcf[_0x1699ba(0xd7)](_0x2d60ee[_0x1699ba(0x145)],undefined)?await _0x128dcf['PPcHf'](_0x504e80,JSON[_0x1699ba(0x131)](_0x128dcf[_0x1699ba(0xd5)](_0x128dcf['QaERP'],'\x22'+_0x2d60ee['pickleStep'][_0x1699ba(0x15a)]+'\x22')),_0x128dcf['nkqjP']):await _0x128dcf['LuCQD'](_0x504e80,JSON[_0x1699ba(0x131)](_0x128dcf[_0x1699ba(0xaa)]),_0x128dcf[_0x1699ba(0x14e)]),global[_0x1699ba(0x97)]&&global[_0x1699ba(0x97)][0x0]&&global[_0x1699ba(0x97)][0x0][_0x1699ba(0xfe)][_0x1699ba(0xae)](_0x23fad5=>{})[_0x1699ba(0xe7)](_0x1c0f8b=>{const _0x4af04d=_0x1699ba;logger[_0x4af04d(0xa7)]('Error:\x20in\x20After\x20Step\x20for\x20driver\x20'+util[_0x4af04d(0x105)](_0x1c0f8b));});}catch(_0x198bab){logger[_0x1699ba(0xa7)](_0x1699ba(0xa5)+_0x198bab);}_0x128dcf[_0x1699ba(0x142)](_0x2d997b);})[_0x566f99(0x13b)](()=>_0x31e95b());});const a11_0x2755f1={};function a11_0x52eb(){const _0x33a7fd=['JxuPg','../../helpers/accessibility-automation/helper','catch','CbHES','BROWSERSTACK_TESTHUB_UUID','winstonLogger','RHFyx','cucumber-js','tzaEQ','result','bootstrap','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','pwPage','skipSessionName','../../index','../../helpers/test-observability/utils','IDOGN','../../helpers/performance/performance-tester','2751026qGCsJt','workerInfo','initQuit','getInstance','quitCount_','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','lADjP','session_','bpskt','WUvEM','toLowerCase','event_type','../../helpers/setKeepAlive','nazAf','format','status','NSsWr','Passed:\x20','oKwty','name','iTGsR','executeDeferredCloses','setTestNameForHealingContext','map','qzAfS','Inside\x20browserstack\x20Before','../playwright/reporter/reporter.js','platformCaps','Inside\x20browserstack\x20registerListeners','ihdHx','zSnBZ','browserstackAgentV2','coVUH','performScan','setFrameworkDetail','BaXdK','osbOk','../../helpers/testhub/utils','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','Error\x20in\x20playwright\x20beforeTestHook:\x20','3MTeBZi','Cucumber-JS','length','error','../../helpers/testhub/constants.js','passed','vIZUu','Error:\x20quiting\x20driver\x20at\x20After:\x20','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Inside\x20browserstack\x20AfterAll','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','beforeTestHook','Performing\x20Playwright\x20Patching','testCaseStartedId','__skipSessionStatus','TIqyq','Completed\x20Playwright\x20afterTestHook\x20execution','CBTSessionCreated','stringify','getId','parse','bs:addLog:','sdnng','__workerDetails','isPageFixture','ALZVC','getTestUUID','@playwright/test','finally','failed','\x22}}','484641cGhRFR','146811QkROek','tags','__error_messages__','fkuzr','UfWaI','info','pickleStep','executeScript','GbaMY','toString','32597780BEgBAS','__sessionFailed','BROWSERSTACK_TESTHUB_JWT','RfMSe','nQnav','nkqjP','Performing\x20scan\x20before\x20saving\x20results','YRqHs','../../helpers/test-observability/requestQueueHandler','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','7873740RqzDoJ','IGdrr','CUCUMBER','integrations','dNwYG','qbIQg','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','text','Error:\x20cleaning\x20up\x20driver:\x20','uploadEventData','rfUyK','split','../../helpers/test-observability/error-handler','BeforeAll','./playwright-patcher','afterTestHook','removeAllListeners','timeout','shutdown','pickle','Error:\x20sendPlatformDetails\x20at\x20After:\x20','ReTyP','setDefaultTimeout','AfterStep','pid','FdOoE','xejHy','__drivers','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','../utils/constants','../../helpers/logger','cleanup','saveTestResults','push','qHiiO','message','FyvkC','3924488vLEZAi','uuid','CONFIG','__platformCaps','Error:\x20at\x20After\x20Step:\x20','fPikH','debug','startMonitoring','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','ZGIMj','Error:\x20at\x20After\x20(Selenium):\x20','util','iXjjX','then','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','setGlobal','NBBvK','Flow\x20detection:\x20isSeleniumFlow=','1298683yCjuUp','../../helpers/accessibility-automation/scripts','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','ffqxj','thJwtToken','stopMonitoring','getGlobal','closeTracker','__skipSessionName','bstack','addTestUIDAndReportLog','shift','8XBhjBy','testInfo','bstackA11yShouldScan','skipSessionStatus','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../helpers/helper','zRBvV','lodash','currentTest',',\x22level\x22:\x20\x22','driverCleanup','AfterAll','env','executeAsyncScript','__timeout','HweKZ','isCliEnabled','../playwright/reporter/test-details.js','../../helpers/ai-sdk/autoHealHelper','Error\x20initializing\x20Playwright\x20patching:\x20','initializePlaywrightPatching','XQsCh','qzYct','UHvsS','HzqFU','iiOlI','2|1|3|4|0','\x20|\x20','Cleaned\x20up\x20Playwright\x20close\x20tracker','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','../../helpers/test-observability/sessionHandler','24hJZQqg','getPackageVersion','setConfig','After','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','ENV_VAR','Inside\x20browserstack\x20BeforeAll'];a11_0x52eb=function(){return _0x33a7fd;};return a11_0x52eb();}a11_0x2755f1['name']=a11_0x39ae95(0xbc),a11_0x2755f1[a11_0x39ae95(0x164)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x39ae95(0x120)],AfterAll(a11_0x2755f1,async function(_0x5745d1,_0x59e40a){const _0x36ff49=a11_0x39ae95,_0x569ce7={'IDOGN':_0x36ff49(0xd9),'ehckS':function(_0x9d2c9b){return _0x9d2c9b();},'fPikH':_0x36ff49(0xdb),'dNwYG':_0x36ff49(0x128)};logger[_0x36ff49(0xa7)](_0x569ce7[_0x36ff49(0x157)]),await new Promise(async _0x2f7c80=>{const _0x104aa0=_0x36ff49,_0xb1fe2f=_0x569ce7[_0x104aa0(0xf5)][_0x104aa0(0x15e)]('|');let _0x3c120f=0x0;while(!![]){switch(_0xb1fe2f[_0x3c120f++]){case'0':_0x569ce7['ehckS'](_0x2f7c80);continue;case'1':PerformanceTester[_0x104aa0(0xb8)]();continue;case'2':await RequestQueueHandler['getInstance']()[_0x104aa0(0x165)]();continue;case'3':try{playwrightPatcher&&playwrightPatcher[_0x104aa0(0x10c)]&&(await playwrightPatcher[_0x104aa0(0x10c)](),playwrightPatcher[_0x104aa0(0xba)]&&playwrightPatcher[_0x104aa0(0xba)][_0x104aa0(0x9b)](),logger['debug'](_0x569ce7[_0x104aa0(0xa6)]));}catch(_0x5a679c){logger['debug']('Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20'+util[_0x104aa0(0x105)](_0x5a679c));}continue;case'4':await global[_0x104aa0(0xc9)]();continue;}break;}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x5d23ca=a12_0x5f3c;(function(_0x478790,_0x530721){const _0x5f0db4=a12_0x5f3c,_0x5606c1=_0x478790();while(!![]){try{const _0x2d9ec4=-parseInt(_0x5f0db4(0x13a))/0x1+parseInt(_0x5f0db4(0x126))/0x2+-parseInt(_0x5f0db4(0x154))/0x3+-parseInt(_0x5f0db4(0x133))/0x4+-parseInt(_0x5f0db4(0x12c))/0x5*(parseInt(_0x5f0db4(0x14c))/0x6)+parseInt(_0x5f0db4(0x128))/0x7+parseInt(_0x5f0db4(0x137))/0x8;if(_0x2d9ec4===_0x530721)break;else _0x5606c1['push'](_0x5606c1['shift']());}catch(_0x5d965c){_0x5606c1['push'](_0x5606c1['shift']());}}}(a12_0x5428,0xed7e8));function a12_0x5f3c(_0x23a41d,_0x450339){const _0x5428e8=a12_0x5428();return a12_0x5f3c=function(_0x5f3cdb,_0x492324){_0x5f3cdb=_0x5f3cdb-0x126;let _0xedb99d=_0x5428e8[_0x5f3cdb];return _0xedb99d;},a12_0x5f3c(_0x23a41d,_0x450339);}function a12_0x5428(){const _0x4bc1ed=['\x20|\x20','initQuit','result','kKgJW','Error:\x20quiting\x20at\x20After:\x20','5027624ZeDTER','env','winstonLogger','failed','29386408mBNhPo','status','ZqHqi','1356245fUXwUQ','__skipSessionName','__platformCaps','pickle','__error_messages__','LEfdu','__driver','../../helpers/helper','bstack','cucumber','__timeout','parse','__skipSessionStatus','../../helpers/setKeepAlive','debug','\x22}}','browserstackAgentV2','CONFIG','6PRplsu','QXkMz','FxwZl','MOFsJ','pDqQr','After','Error:\x20setting\x20status\x20at\x20After:\x20','CDbUS','1623519PpKHcO','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','Inside\x20browserstack\x20Before','name','Inside\x20browserstack\x20After','UQUXk','cucumber/lib/index.js','Before','passed','1369224SwKUPM','join','8026767uGypZP','then','yKedt','session_','6887470ngNyJx','setDefaultTimeout'];a12_0x5428=function(){return _0x4bc1ed;};return a12_0x5428();}const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a12_0x5d23ca(0x141)),setKeepAlive=require(a12_0x5d23ca(0x147)),cucumberModule=requireModule(a12_0x5d23ca(0x15a),a12_0x5d23ca(0x143)),logger=require('../../helpers/logger')[a12_0x5d23ca(0x135)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a12_0x5d23ca(0x15b)],After=cucumberModule[a12_0x5d23ca(0x151)],configuration=process[a12_0x5d23ca(0x134)][a12_0x5d23ca(0x14b)];if(configuration!==undefined){const config=JSON[a12_0x5d23ca(0x145)](configuration);isTrue(config['skipSessionName'])&&(global['__skipSessionName']=!![]),global[a12_0x5d23ca(0x146)]=isTrue(config['skipSessionStatus']),require('../../index')[a12_0x5d23ca(0x14a)](config),global[a12_0x5d23ca(0x13c)]=config['platformCaps']||{};}global[a12_0x5d23ca(0x144)]=0x0;const __setDefaultTimeout=cucumberModule[a12_0x5d23ca(0x12d)];cucumberModule[a12_0x5d23ca(0x12d)]=_0x52cfc0=>{const _0x379d29=a12_0x5d23ca,_0x1b5a01={'dFpOc':function(_0x29b4a0,_0x3c1498){return _0x29b4a0(_0x3c1498);}};global[_0x379d29(0x144)]=_0x52cfc0,_0x1b5a01['dFpOc'](__setDefaultTimeout,_0x52cfc0);};const a12_0x367942={};a12_0x367942[a12_0x5d23ca(0x157)]='bstack',Before(a12_0x367942,function(){const _0x4f784=a12_0x5d23ca,_0x992d05={};_0x992d05[_0x4f784(0x12a)]=_0x4f784(0x156);const _0x3a84d5=_0x992d05;logger['debug'](_0x3a84d5[_0x4f784(0x12a)]),global[_0x4f784(0x13e)]=[];});const a12_0x32c4b1={};a12_0x32c4b1[a12_0x5d23ca(0x157)]=a12_0x5d23ca(0x142),a12_0x32c4b1['timeout']=0x2710,After(a12_0x32c4b1,function(_0x3fe5fa,_0x4fed26){const _0x16f550=a12_0x5d23ca,_0x3ab2b6={'MOFsJ':function(_0x9b81ad,_0x289bc8){return _0x9b81ad===_0x289bc8;},'pDqQr':_0x16f550(0x136),'CDbUS':function(_0x31ae0d,_0x2e5fc2,_0x4833f7,_0x8ba1e5){return _0x31ae0d(_0x2e5fc2,_0x4833f7,_0x8ba1e5);},'TBuxI':_0x16f550(0x12e),'UQUXk':function(_0x2a2d91,_0x3f7342,_0x453a40){return _0x2a2d91(_0x3f7342,_0x453a40);},'QXkMz':_0x16f550(0x15c),'kKgJW':function(_0x1702f4){return _0x1702f4();},'FxwZl':function(_0x4ff830,_0x56c038){return _0x4ff830(_0x56c038);},'LEfdu':function(_0x3fb24f){return _0x3fb24f();},'ZqHqi':_0x16f550(0x158)};logger[_0x16f550(0x148)](_0x3ab2b6[_0x16f550(0x139)]),new Promise(async(_0x5c0e1b,_0x4b5d5a)=>{const _0x48d22a=_0x16f550;let _0x34da5f=![];try{await global['__driver'][_0x48d22a(0x12b)],_0x34da5f=!![],!global[_0x48d22a(0x13b)]&&await global['__driver']['executeScript'](_0x48d22a(0x155)+_0x3fe5fa[_0x48d22a(0x13d)]['name']+_0x48d22a(0x149)),_0x3ab2b6[_0x48d22a(0x14f)](_0x3fe5fa[_0x48d22a(0x130)][_0x48d22a(0x138)]['toLowerCase'](),_0x3ab2b6[_0x48d22a(0x150)])?await _0x3ab2b6[_0x48d22a(0x153)](markSessionStatus,global[_0x48d22a(0x140)],_0x3ab2b6[_0x48d22a(0x150)],global[_0x48d22a(0x13e)][_0x48d22a(0x127)](_0x3ab2b6['TBuxI'])):await _0x3ab2b6[_0x48d22a(0x159)](markSessionStatus,global[_0x48d22a(0x140)],_0x3ab2b6[_0x48d22a(0x14d)]);}catch(_0x34c3f3){logger[_0x48d22a(0x148)](_0x48d22a(0x152)+_0x34c3f3);}if(_0x34da5f)try{await global[_0x48d22a(0x140)][_0x48d22a(0x12f)](),_0x3ab2b6[_0x48d22a(0x131)](_0x5c0e1b);}catch(_0x3d9282){logger[_0x48d22a(0x148)](_0x48d22a(0x132)+_0x3d9282),_0x3ab2b6[_0x48d22a(0x14e)](_0x4b5d5a,_0x3d9282);}else _0x3ab2b6[_0x48d22a(0x13f)](_0x4b5d5a);})[_0x16f550(0x129)](()=>_0x4fed26());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a13_0x4a4660=a13_0x1203;function a13_0x4ae6(){const _0x2e5f10=['cucumber/lib/index.js','../utils/constants','374532lRoDCG','__timeout','417550WxsIFO','732977kFQDvi','@cucumber/cucumber/lib/index.js','../../helpers/helper','8hbVcOP','18KoXQND','1035288JoxTYA','BSTACK_DELTA','949164xEQudC','1aTUQvL','734500sOnwFE','237718dzDHQF'];a13_0x4ae6=function(){return _0x2e5f10;};return a13_0x4ae6();}(function(_0x224d3b,_0x5d3837){const _0x56591b=a13_0x1203,_0x5aee2c=_0x224d3b();while(!![]){try{const _0x32c522=-parseInt(_0x56591b(0xf1))/0x1*(parseInt(_0x56591b(0xf3))/0x2)+-parseInt(_0x56591b(0xe6))/0x3+parseInt(_0x56591b(0xee))/0x4+parseInt(_0x56591b(0xf2))/0x5+parseInt(_0x56591b(0xf0))/0x6+-parseInt(_0x56591b(0xe9))/0x7*(-parseInt(_0x56591b(0xec))/0x8)+parseInt(_0x56591b(0xed))/0x9*(-parseInt(_0x56591b(0xe8))/0xa);if(_0x32c522===_0x5d3837)break;else _0x5aee2c['push'](_0x5aee2c['shift']());}catch(_0x4587f3){_0x5aee2c['push'](_0x5aee2c['shift']());}}}(a13_0x4ae6,0x535a6));function a13_0x1203(_0x3df606,_0x358659){const _0x4ae6fe=a13_0x4ae6();return a13_0x1203=function(_0x120391,_0x3a4d23){_0x120391=_0x120391-0xe4;let _0x129c69=_0x4ae6fe[_0x120391];return _0x129c69;},a13_0x1203(_0x3df606,_0x358659);}const {requireModule}=require(a13_0x4a4660(0xeb)),constants=require(a13_0x4a4660(0xe5));;let cucumberModule=null;try{cucumberModule=requireModule(a13_0x4a4660(0xea),'@cucumber/cucumber');}catch(a13_0x3ed56f){cucumberModule=requireModule(a13_0x4a4660(0xe4),'cucumber');}cucumberModule['setDefaultTimeout'](constants[a13_0x4a4660(0xef)]+global[a13_0x4a4660(0xe7)]*0x1);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';
|
|
2
|
+
'use strict';const a14_0x58784f=a14_0x23c1;(function(_0x209e7a,_0x53d21f){const _0x32196d=a14_0x23c1,_0x336b96=_0x209e7a();while(!![]){try{const _0x4e321a=-parseInt(_0x32196d(0x1df))/0x1*(-parseInt(_0x32196d(0x214))/0x2)+parseInt(_0x32196d(0x1d5))/0x3+parseInt(_0x32196d(0x1cd))/0x4*(-parseInt(_0x32196d(0x204))/0x5)+-parseInt(_0x32196d(0x1d3))/0x6*(parseInt(_0x32196d(0x1e6))/0x7)+parseInt(_0x32196d(0x1d2))/0x8*(parseInt(_0x32196d(0x1e0))/0x9)+parseInt(_0x32196d(0x208))/0xa*(parseInt(_0x32196d(0x1d8))/0xb)+-parseInt(_0x32196d(0x1e1))/0xc*(parseInt(_0x32196d(0x20b))/0xd);if(_0x4e321a===_0x53d21f)break;else _0x336b96['push'](_0x336b96['shift']());}catch(_0x521efd){_0x336b96['push'](_0x336b96['shift']());}}}(a14_0x28f1,0x6348e));function a14_0x23c1(_0x4b515e,_0x29beb6){const _0x28f1a2=a14_0x28f1();return a14_0x23c1=function(_0x23c117,_0x37ae6c){_0x23c117=_0x23c117-0x1cc;let _0x8e37ba=_0x28f1a2[_0x23c117];return _0x8e37ba;},a14_0x23c1(_0x4b515e,_0x29beb6);}function a14_0x28f1(){const _0x458c82=['jrciY','BrowserStack\x20access\x20key\x20missing.','../../helpers/helper','undefined','1436012zskoWC','demandOption','VVIOK','map','setupBrowserstackLocal','4EupPJa','mGcJn','qRJff','npJhM','https','40vQgOwR','45030qktEHJ','every','847443RoCZAO','bstackAccesskey','../../helpers/BrowserStackSetup','11MdTlBR','Connection\x20established\x20successfully.','443','WCKMD','string','bstack-accesskey','./constants','1shVIzQ','960327UlhYjf','264xCzbzv','mKqSY','command','setProxySettings','trim','49XtvOCN','QOLtd','toString','split','browserStackLocalOptions','port','browserstackLocal','missing','EBrxH','exports','connect','fRwoD','config','integrations','hosts','type','help','PsVzr','localIdentifier','Hosts\x20not\x20valid','../../helpers/logger','describe','options','AhBIY','error','root','protocol','footer','bstackAccessKey','epilogue','82165WjsMhl','accessKey','invalid','XNaYm','5817580GnDppz','only','replace','969163WLaPEU','info','YJiwZ','ieNsW','QqVEj'];a14_0x28f1=function(){return _0x458c82;};return a14_0x28f1();}const {default:BrowserStackSetup}=require(a14_0x58784f(0x1d7)),logger=require(a14_0x58784f(0x1fa))['winstonLogger'],{URL}=require('url'),helper=require(a14_0x58784f(0x212)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a14_0x58784f(0x1de)),validHosts=function(_0x31076d){const _0x2c0c8b=a14_0x58784f;return _0x31076d[_0x2c0c8b(0x1e9)](',')[_0x2c0c8b(0x1d4)](_0x4eee1c=>{const _0x3bf1a4=_0x2c0c8b;try{new URL(_0x4eee1c[_0x3bf1a4(0x1e5)]());}catch(_0x26f5d1){return![];}return!![];});},parseOnPremHosts=function(_0x3468ac){const _0x384e93=a14_0x58784f,_0x2fd7dc={};_0x2fd7dc[_0x384e93(0x210)]=function(_0x4fccb8,_0x4cf1f9){return _0x4fccb8===_0x4cf1f9;},_0x2fd7dc[_0x384e93(0x1e2)]='https:',_0x2fd7dc[_0x384e93(0x1ce)]=_0x384e93(0x1da),_0x2fd7dc[_0x384e93(0x216)]=function(_0x2d3e83,_0x46be66){return _0x2d3e83===_0x46be66;},_0x2fd7dc['qRJff']=_0x384e93(0x1d1);const _0x3bc63e=_0x2fd7dc;return _0x3468ac['split'](',')[_0x384e93(0x217)](_0x47b240=>{const _0x48e1ad=_0x384e93,_0x6a314d=new URL(_0x47b240[_0x48e1ad(0x1e5)]()),_0x5a6ff9=_0x6a314d['hostname'],_0xfff65d=_0x6a314d[_0x48e1ad(0x1eb)]||(_0x3bc63e[_0x48e1ad(0x210)](_0x6a314d[_0x48e1ad(0x200)],_0x3bc63e['mKqSY'])?_0x3bc63e[_0x48e1ad(0x1ce)]:'80'),_0x3c10d8=_0x6a314d['protocol'][_0x48e1ad(0x20a)](':',''),_0x3dbe5b=_0x3bc63e[_0x48e1ad(0x216)](_0x3c10d8,_0x3bc63e[_0x48e1ad(0x1cf)])?0x1:0x0;return _0x5a6ff9+','+_0xfff65d+','+_0x3dbe5b;});},connectCommandBuilder=function(_0x515b30){const _0x75f77e=a14_0x58784f,_0xffff82={};_0xffff82[_0x75f77e(0x1db)]=_0x75f77e(0x1dc);const _0x5eaf68=_0xffff82,_0x54cd42={};_0x54cd42[_0x75f77e(0x1fb)]=HELP_MESSAGES[_0x75f77e(0x1fc)][_0x75f77e(0x202)],_0x54cd42[_0x75f77e(0x1f5)]=_0x5eaf68['WCKMD'];const _0x327a83={};_0x327a83['describe']=HELP_MESSAGES[_0x75f77e(0x1fc)]['hosts'],_0x327a83[_0x75f77e(0x1f5)]=_0x5eaf68[_0x75f77e(0x1db)],_0x327a83[_0x75f77e(0x215)]=!![];const _0x21a5eb={};return _0x21a5eb[_0x75f77e(0x1dd)]=_0x54cd42,_0x21a5eb[_0x75f77e(0x1f4)]=_0x327a83,_0x515b30['options'](_0x21a5eb);},connectCommandHandler=async function(_0x3a6d6e){const _0x59b00b=a14_0x58784f,_0x3d2530={'npJhM':_0x59b00b(0x1f3),'OeiID':function(_0x34aa96,_0x3a3451){return _0x34aa96===_0x3a3451;},'XNaYm':_0x59b00b(0x213),'QqVEj':_0x59b00b(0x211),'XMKbb':function(_0x367774,_0x45a280){return _0x367774===_0x45a280;},'PsVzr':'Integration\x20hosts\x20missing.','AhBIY':function(_0xcb6b1,_0x1f4bd8){return _0xcb6b1(_0x1f4bd8);},'EBrxH':_0x59b00b(0x1f9),'UMgFJ':function(_0xc0547,_0x1ffa02){return _0xc0547(_0x1ffa02);},'fRwoD':'integrations-repeater','QOLtd':_0x59b00b(0x1d9),'YJiwZ':'Failed\x20to\x20establish\x20connection.'};try{const _0x2b086d=new BrowserStackSetup(_0x3a6d6e,_0x3d2530[_0x59b00b(0x1d0)]);_0x3a6d6e['bstackAccesskey']&&(_0x2b086d[_0x59b00b(0x1f2)][_0x59b00b(0x205)]=_0x3a6d6e[_0x59b00b(0x1d6)]);if(_0x3d2530['OeiID'](typeof _0x2b086d[_0x59b00b(0x1f2)][_0x59b00b(0x205)],_0x3d2530[_0x59b00b(0x207)])){logger[_0x59b00b(0x1fe)](_0x3d2530[_0x59b00b(0x20f)]);throw new Error(ERROR_MESSAGES[_0x59b00b(0x202)][_0x59b00b(0x1ed)]);}const _0x3900fb=_0x3a6d6e[_0x59b00b(0x1f4)];if(_0x3d2530['XMKbb'](typeof _0x3900fb,_0x3d2530[_0x59b00b(0x207)])){logger[_0x59b00b(0x1fe)](_0x3d2530[_0x59b00b(0x1f7)]);throw new Error(ERROR_MESSAGES[_0x59b00b(0x1f4)][_0x59b00b(0x1ed)]);}if(!_0x3d2530[_0x59b00b(0x1fd)](validHosts,_0x3900fb)){logger[_0x59b00b(0x1fe)](_0x3d2530[_0x59b00b(0x1ee)]);throw new Error(ERROR_MESSAGES[_0x59b00b(0x1f4)][_0x59b00b(0x206)]);}const _0x44f98c=_0x3d2530['UMgFJ'](parseOnPremHosts,_0x3900fb);_0x2b086d['config'][_0x59b00b(0x1ec)]=!![],_0x2b086d[_0x59b00b(0x1f2)][_0x59b00b(0x1ea)][_0x59b00b(0x1f8)]=_0x3d2530[_0x59b00b(0x1f1)],_0x2b086d[_0x59b00b(0x1f2)][_0x59b00b(0x1ea)][_0x59b00b(0x209)]=_0x44f98c['join'](','),helper[_0x59b00b(0x1e4)](_0x2b086d[_0x59b00b(0x1f2)]),await _0x2b086d[_0x59b00b(0x1cc)](),logger[_0x59b00b(0x20c)](_0x3d2530[_0x59b00b(0x1e7)]);}catch(_0x2329eb){logger['error'](_0x3d2530[_0x59b00b(0x20d)]);throw new Error(_0x2329eb[_0x59b00b(0x1e8)]());}};function run(_0x382405){const _0x1534cd=a14_0x58784f,_0x5357b5={};_0x5357b5['ieNsW']=_0x1534cd(0x1f0),_0x5357b5['esSHg']=_0x1534cd(0x1f6);const _0x1c6522=_0x5357b5;_0x382405['usage'](HELP_MESSAGES['command'][_0x1534cd(0x1ff)])[_0x1534cd(0x1e3)](_0x1c6522[_0x1534cd(0x20e)],HELP_MESSAGES[_0x1534cd(0x1e3)]['connect'],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x1534cd(0x1f6)](_0x1c6522['esSHg'])[_0x1534cd(0x203)](HELP_MESSAGES[_0x1534cd(0x1e3)][_0x1534cd(0x201)]);}module[a14_0x58784f(0x1ef)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a15_0x24a300=a15_0x3cba;(function(_0x4f26ac,_0x3e46c9){var _0xe3a0df=a15_0x3cba,_0x55b638=_0x4f26ac();while(!![]){try{var _0x2a4bb4=parseInt(_0xe3a0df(0x90))/0x1+parseInt(_0xe3a0df(0xa8))/0x2*(-parseInt(_0xe3a0df(0x9e))/0x3)+-parseInt(_0xe3a0df(0x9f))/0x4+parseInt(_0xe3a0df(0xa1))/0x5*(parseInt(_0xe3a0df(0x97))/0x6)+-parseInt(_0xe3a0df(0xa5))/0x7+-parseInt(_0xe3a0df(0x98))/0x8+parseInt(_0xe3a0df(0x8f))/0x9*(parseInt(_0xe3a0df(0x93))/0xa);if(_0x2a4bb4===_0x3e46c9)break;else _0x55b638['push'](_0x55b638['shift']());}catch(_0x56cbfe){_0x55b638['push'](_0x55b638['shift']());}}}(a15_0x47b8,0xedb23));var a15_0x2f20b1={};a15_0x2f20b1['bstackAccessKey']=a15_0x24a300(0xa7),a15_0x2f20b1['hosts']=a15_0x24a300(0x94);var a15_0x1dd328={};a15_0x1dd328[a15_0x24a300(0x99)]='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a15_0x1dd328[a15_0x24a300(0xa4)]=a15_0x24a300(0xa2),a15_0x1dd328[a15_0x24a300(0x96)]=a15_0x24a300(0xa6);function a15_0x3cba(_0x191a8e,_0x37da){var _0x47b8d2=a15_0x47b8();return a15_0x3cba=function(_0x3cba68,_0x45ea51){_0x3cba68=_0x3cba68-0x8f;var _0x19daf3=_0x47b8d2[_0x3cba68];return _0x19daf3;},a15_0x3cba(_0x191a8e,_0x37da);}var a15_0x2a3a54={};a15_0x2a3a54[a15_0x24a300(0x9b)]=a15_0x2f20b1,a15_0x2a3a54[a15_0x24a300(0xa0)]=a15_0x1dd328,exports[a15_0x24a300(0x95)]=a15_0x2a3a54;var a15_0x3a504c={};a15_0x3a504c[a15_0x24a300(0x92)]=a15_0x24a300(0x9c);function a15_0x47b8(){var _0x467d5b=['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.','HELP_MESSAGES','footer','6HLyElL','2287496ScHPqB','root','invalid','options','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','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.','39981piksKs','4709664WNGGPq','command','1805455mTjSOO','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','bstackAccessKey','connect','5215287SPJaiU','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','28WCoJfd','ERROR_MESSAGES','6291gJKzRn','1278158PKuWRj','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','missing','24740MWHcIN'];a15_0x47b8=function(){return _0x467d5b;};return a15_0x47b8();}var a15_0x4c9180={};a15_0x4c9180['missing']=a15_0x24a300(0x91),a15_0x4c9180[a15_0x24a300(0x9a)]=a15_0x24a300(0x9d);var a15_0x53bcf9={};a15_0x53bcf9[a15_0x24a300(0xa3)]=a15_0x3a504c,a15_0x53bcf9['hosts']=a15_0x4c9180,exports[a15_0x24a300(0xa9)]=a15_0x53bcf9;
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a16_0x35ed0d=a16_0x26f7;(function(_0x1c370c,_0x287659){const _0x4183c7=a16_0x26f7,_0x2efba0=_0x1c370c();while(!![]){try{const _0x2cc316=-parseInt(_0x4183c7(0xff))/0x1+-parseInt(_0x4183c7(0xed))/0x2*(-parseInt(_0x4183c7(0xa5))/0x3)+-parseInt(_0x4183c7(0xbf))/0x4+-parseInt(_0x4183c7(0x102))/0x5+parseInt(_0x4183c7(0x113))/0x6*(-parseInt(_0x4183c7(0xfa))/0x7)+-parseInt(_0x4183c7(0x15b))/0x8*(-parseInt(_0x4183c7(0xc6))/0x9)+parseInt(_0x4183c7(0x110))/0xa*(parseInt(_0x4183c7(0x154))/0xb);if(_0x2cc316===_0x287659)break;else _0x2efba0['push'](_0x2efba0['shift']());}catch(_0x1dac55){_0x2efba0['push'](_0x2efba0['shift']());}}}(a16_0x4fe3,0xba38c));const fs=require('fs'),path=require(a16_0x35ed0d(0x11d)),util=require(a16_0x35ed0d(0x15c)),{spawn}=require(a16_0x35ed0d(0xe5)),logger=require(a16_0x35ed0d(0xbc))[a16_0x35ed0d(0xfd)],{default:BrowserStackSetup}=require(a16_0x35ed0d(0xc1)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require(a16_0x35ed0d(0xab)),accessibilityHelper=require(a16_0x35ed0d(0x10a)),{updateTestRerunConfig}=require(a16_0x35ed0d(0x114)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a16_0x35ed0d(0xa9)),TestDetails=require(a16_0x35ed0d(0xa8)),{getPercyOptions}=require(a16_0x35ed0d(0xea)),TestHubHandler=require(a16_0x35ed0d(0xd1)),testhubUtils=require(a16_0x35ed0d(0x14b)),{FRAMEWORKS}=require(a16_0x35ed0d(0xf3)),PerformanceTester=require(a16_0x35ed0d(0xda)),PerformanceEvents=require('../../helpers/performance/constants')[a16_0x35ed0d(0x119)],TestOrchestrationHandler=require(a16_0x35ed0d(0x160)),getUserJestConfigs=async(_0x4f85a6,_0x346bb5)=>{const _0x25b08b=a16_0x35ed0d,_0x841a6a={'GPDrJ':_0x25b08b(0xb7),'ajAZx':_0x25b08b(0xfb),'EhgPj':function(_0x24c39b,_0x28b115){return _0x24c39b||_0x28b115;},'mvtiN':function(_0x4fc823,_0x5dda91){return _0x4fc823(_0x5dda91);},'gFeai':_0x25b08b(0x15d),'BBaqw':_0x25b08b(0x10c),'FibMe':'mjs','wbiiy':'cjs','rfPll':_0x25b08b(0xd8)},_0x50c960=helper[_0x25b08b(0x162)](_0x841a6a[_0x25b08b(0xcc)],_0x841a6a[_0x25b08b(0x14d)]),_0x528ed7=_0x346bb5['findIndex'](_0x2fdef4=>_0x2fdef4===_0x25b08b(0xae));if(!helper[_0x25b08b(0x128)](_0x4f85a6[_0x25b08b(0x152)])){logger['info'](_0x25b08b(0xb3)+_0x4f85a6[_0x25b08b(0x152)]),process[_0x25b08b(0xfc)][_0x25b08b(0x14c)]=_0x4f85a6[_0x25b08b(0x152)];const _0x529ddf=await(0x0,_0x50c960[_0x25b08b(0x131)])(path[_0x25b08b(0x14a)](_0x4f85a6['config']));return _0x346bb5[_0x25b08b(0x11a)](_0x528ed7,0x2),_0x841a6a[_0x25b08b(0xa6)](_0x529ddf,{});}const _0x2bb44e=_0x841a6a[_0x25b08b(0x148)](require,path['join'](process[_0x25b08b(0xd0)](),_0x841a6a[_0x25b08b(0x166)]));if(_0x2bb44e[_0x25b08b(0x13f)])return logger['info'](_0x841a6a['BBaqw']),_0x2bb44e[_0x25b08b(0x13f)];const _0x337278=['js',_0x841a6a[_0x25b08b(0xd3)],_0x841a6a[_0x25b08b(0x159)],_0x841a6a[_0x25b08b(0xb4)],'ts'];for(const _0x2d6cc2 of _0x337278){const _0x5be8bc=path[_0x25b08b(0xcb)](process[_0x25b08b(0xd0)](),_0x25b08b(0x165)+_0x2d6cc2);if(fs[_0x25b08b(0x16f)](_0x5be8bc)){process['env']['USER_CONFIG_DETAILS_PATH']=_0x5be8bc;const _0x1963f4=await(0x0,_0x50c960[_0x25b08b(0x131)])(_0x5be8bc);return _0x1963f4;}}return{};},getSerial=(_0x44de9b,_0x58381e)=>{const _0x489e52=a16_0x35ed0d,_0x184c76={};_0x184c76[_0x489e52(0x109)]=_0x489e52(0xf5),_0x184c76[_0x489e52(0x170)]=function(_0x7acc5a,_0xb40942){return _0x7acc5a>_0xb40942;},_0x184c76['HfxyE']=function(_0x272f8d,_0xebf0dd){return _0x272f8d>_0xebf0dd;},_0x184c76['oYxsd']=_0x489e52(0x101);const _0x4eeee4=_0x184c76;let _0x3f5371=_0x4eeee4[_0x489e52(0x109)];return _0x4eeee4['QWtFP'](_0x44de9b[_0x489e52(0x15e)],0x1)&&(!_0x58381e[_0x489e52(0x111)]&&(helper['isUndefined'](_0x58381e[_0x489e52(0x103)])||_0x4eeee4['HfxyE'](_0x58381e[_0x489e52(0x103)],0x1)))&&(_0x3f5371=_0x4eeee4[_0x489e52(0x147)]),_0x3f5371;},getMaxWorkers=(_0x819cbf,_0x3d131,_0x47b198)=>{const _0x57fda0=a16_0x35ed0d,_0x30a558={'zuIAo':function(_0xf73e88,_0x5a6b09){return _0xf73e88(_0x5a6b09);}};let _0x3da224=0x1;if(!helper[_0x57fda0(0x128)](_0x3d131[_0x57fda0(0xc5)]))_0x3da224=_0x30a558[_0x57fda0(0xcf)](parseInt,_0x3d131[_0x57fda0(0xc5)]);else{if(!helper[_0x57fda0(0x128)](_0x819cbf[_0x57fda0(0x103)]))_0x3da224=_0x819cbf[_0x57fda0(0x103)];else!helper[_0x57fda0(0x128)](_0x47b198[_0x57fda0(0x103)])&&(_0x3da224=_0x47b198['maxWorkers']);}return _0x3da224;};function a16_0x26f7(_0x1d8ac6,_0x2c17e4){const _0x4fe3b0=a16_0x4fe3();return a16_0x26f7=function(_0x26f72d,_0x4772f6){_0x26f72d=_0x26f72d-0xa2;let _0x530e14=_0x4fe3b0[_0x26f72d];return _0x530e14;},a16_0x26f7(_0x1d8ac6,_0x2c17e4);}function a16_0x4fe3(){const _0xac1831=['finalExecution','testRunner','cNAHX','gJpPR','testObservability','iixpe','OJQSR','accessibility','ooUgR','getPackageType','child_process','platformCaps','setupTCGAuth','child\x20process\x20exited\x20with\x20code\x20','npx','../../helpers/percy/utils','getTCGConfigFilePaths','Error\x20while\x20parsing\x20','2477994wEVcgy','JEST_TEST_ORDER','JRHmX','iKIuC','const\x20config=','assign','../../helpers/test-observability/constants','customEnvironment.js','true','Deleting\x20','runner','nIRlW','isNotUndefined','14DMswcT','jest-config','env','winstonLogger','errorMessage','1240946xYeZkO','inherit','false','3022380vAqZOg','maxWorkers','end','AXVpK',';\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','customImplements','skipSessionName','QKLBS','../../helpers/accessibility-automation/helper','recursive','Getting\x20your\x20jest\x20configs\x20from\x20package.json','test-observability','exitCode','grDLu','19563210kEMtgm','runInBand','parseTestOrchestrationOptions','1402158sNSErQ','./test-observability/helper','useW3C','getHubUrl','\x20with\x20browserstack\x20jest\x20configs','\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','EVENTS','splice','PACKAGE_TYPE','setupFiles','path','data-hooks.js','getErrorMessageFromResults','stringify','force','log','IrnDL','maxFailures','slice','testSequencer','igdTD','isUndefined','close','reorderTestFiles','Tsxbw','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','customTestRunner.js','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','FRAMEWORKS','launchBuild','default','SWHDJ','testEnvironment','PzFja','lmSto','RYNPe','agtyf','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','setupFilesAfterEnv','writeFileSync','parallels__','workingDir','MODULE','XNTwV','jest','win32','Umkjf','testContextOptions','serial__','JhdhZ','Unable\x20to\x20find\x20jest-circus,\x20','BSTACK_JEST_TEST_ENV','oYxsd','mvtiN','requireSeleniumWebdriver','resolve','../../helpers/testhub/utils','USER_CONFIG_DETAILS_PATH','ajAZx','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','mGpAP','printBuildLink','setup','config','BROWSERSTACK_TEST_OBSERVABILITY_YML','11ASlkyW','Found:\x20','failFast','initialize','ymEge','wbiiy','turboScaleUrl','4703368nCrtFD','util','package.json','length','prepareCapabilities','../../helpers/test-orchestration/testOrchestrationHandler','fnndX','requireModule','jest.setup.js','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','jest.config.','gFeai','jvrId','testEnvironmentOptions','\x0amodule.exports\x20=\x20config;','DqYvD','timeout__','error\x20removing\x20tcg\x20config\x20file','proxySettings','jest_browserstack_results.json','existsSync','QWtFP','filterBrowserstackArgs','jest-circus','skipSessionStatus','platform','rmSync','platforms','3cDIlyT','EhgPj','fxbMY','./test-observability/test-details','../../helpers/test-observability/utils','retryTestsOnFailure','../utils/constants','findTestFiles','shouldProcessEventForTesthub','--config','xVWqD','isEmpty','isTestOrchestrationEnabled','RaWao','Getting\x20your\x20jest\x20configs\x20from\x20','rfPll','format','jTnCQ','jest-config/build/readConfigFileAndSetRootDir.js','zteHy','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','jest_browserstack.config.cjs','reporters','../../helpers/logger','Creating\x20','accessibilityOptions','2830668gGDquD','browserStackPercyOptions','../../helpers/BrowserStackSetup','abortBuildOnFailure','jest_browserstack.config.js','XeGCI','parallelsPerPlatform','9iTMjtt','push','customCircus.js','unlinkSync','Deleted\x20fail-fast\x20state\x20folder:\x20','join','GPDrJ','info','debug','zuIAo','cwd','../../helpers/testhub/testhubHandler','customTestRunnerTemplate.js','FibMe','retries__','readFileSync','error','SDK_SETUP','json','handleApp','../../helpers/performance/performance-tester'];a16_0x4fe3=function(){return _0xac1831;};return a16_0x4fe3();}async function run(_0x5707a5,_0x416264,_0x1137e4){const _0x3b4f60=a16_0x35ed0d,_0x1a9b84={'saLLR':_0x3b4f60(0x16c),'jTnCQ':_0x3b4f60(0x13f),'Umkjf':function(_0x55cd09,_0x4c0001){return _0x55cd09(_0x4c0001);},'xVWqD':function(_0x502ac3,_0x439897){return _0x502ac3!=_0x439897;},'gJpPR':_0x3b4f60(0xf5),'lmSto':function(_0x3a55b4,_0x1db8e8,_0x12806b){return _0x3a55b4(_0x1db8e8,_0x12806b);},'SWHDJ':_0x3b4f60(0xb9),'RaWao':function(_0x456f31,_0x27e171){return _0x456f31(_0x27e171);},'IrnDL':function(_0x38c2a9,_0x866026,_0x1fff24){return _0x38c2a9(_0x866026,_0x1fff24);},'agtyf':function(_0x1abab7,_0x178192,_0x573912,_0x58e07f){return _0x1abab7(_0x178192,_0x573912,_0x58e07f);},'fnndX':function(_0x4aa811,_0x3b9d51){return _0x4aa811*_0x3b9d51;},'jvrId':function(_0x502a2c,_0x33207){return _0x502a2c===_0x33207;},'nIRlW':_0x3b4f60(0xba),'RdTIy':_0x3b4f60(0xc3),'JhdhZ':_0x3b4f60(0x107),'grDLu':_0x3b4f60(0x16e),'zteHy':_0x3b4f60(0x12d),'cNAHX':_0x3b4f60(0xd2),'AXVpK':_0x3b4f60(0xf4),'ooUgR':_0x3b4f60(0x163),'JRHmX':'customSequencer.js','DqYvD':_0x3b4f60(0x14e),'iixpe':_0x3b4f60(0x172),'XeGCI':_0x3b4f60(0x10d),'iKIuC':_0x3b4f60(0x11e),'Szhvm':_0x3b4f60(0xc8),'ymEge':'test_before.setup.js','XpPhs':_0x3b4f60(0x12c),'mGpAP':_0x3b4f60(0x131),'DtRar':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','OJQSR':function(_0x4c0f39,_0xd340cb){return _0x4c0f39>_0xd340cb;},'igdTD':_0x3b4f60(0x138),'fxbMY':function(_0x3b50a4,_0x1475e4,_0x2e8135,_0x50d22e){return _0x3b50a4(_0x1475e4,_0x2e8135,_0x50d22e);},'XNTwV':_0x3b4f60(0xe9),'Tsxbw':'--config','PneIU':_0x3b4f60(0x140),'RYNPe':_0x3b4f60(0x100),'PzFja':_0x3b4f60(0x129)};helper['isBrowserstackInfra']()?(await _0x1137e4[_0x3b4f60(0x157)](_0x5707a5),await helper[_0x3b4f60(0xd9)](_0x1137e4['config'])):await _0x1137e4[_0x3b4f60(0xe7)]();if(!_0x1137e4[_0x3b4f60(0x152)])return;_0x1a9b84[_0x3b4f60(0xaf)](_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0xdf)],null)?process[_0x3b4f60(0xfc)][_0x3b4f60(0x153)]=_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0xdf)]:process['env'][_0x3b4f60(0x153)]=_0x1a9b84[_0x3b4f60(0xde)];const _0x45a961=new TestOrchestrationHandler(_0x1137e4[_0x3b4f60(0x152)]),_0xa29aca=await _0x1a9b84[_0x3b4f60(0x135)](getUserJestConfigs,_0x5707a5,_0x416264);logger[_0x3b4f60(0xcd)](_0x1a9b84[_0x3b4f60(0x132)]);const _0x17b717=Object[_0x3b4f60(0xf2)]({},_0xa29aca);_0x17b717[_0x3b4f60(0x168)]=Object[_0x3b4f60(0xf2)]({},_0x17b717[_0x3b4f60(0x168)],{'server':helper[_0x3b4f60(0x116)](_0x1137e4[_0x3b4f60(0x152)]),'environment':_0xa29aca[_0x3b4f60(0x133)]}),_0x17b717['testEnvironmentOptions'][_0x3b4f60(0xc0)]=_0x1a9b84[_0x3b4f60(0xb2)](getPercyOptions,_0x1137e4[_0x3b4f60(0x152)]);const _0x51006e=helper[_0x3b4f60(0x115)](_0x1137e4[_0x3b4f60(0x152)]);!helper[_0x3b4f60(0x128)](_0x1137e4[_0x3b4f60(0x152)]['accessibilityOptions'])&&(process['env'][_0x3b4f60(0x12e)]=JSON['stringify'](_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0xbe)]));const _0x2998ea=await TestHubHandler[_0x3b4f60(0x130)](FRAMEWORKS['JEST'],_0x1137e4),_0x51a2cd=helper[_0x3b4f60(0x15f)](_0x1137e4[_0x3b4f60(0x152)],_0x51006e,constants[_0x3b4f60(0x12f)]['JEST']);let _0x32bac6=_0x1137e4['config'][_0x3b4f60(0xe2)];_0x32bac6=_0x32bac6||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x1137e4[_0x3b4f60(0x152)]),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x32bac6,_0x17b717[_0x3b4f60(0x168)]['capabilities']=_0x51a2cd,_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0x143)]=_0x1a9b84[_0x3b4f60(0x123)](getSerial,_0x51a2cd,_0x5707a5),_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0x13b)]=_0x1a9b84[_0x3b4f60(0x137)](getMaxWorkers,_0x5707a5,_0x1137e4[_0x3b4f60(0x152)],_0xa29aca),_0x17b717['testEnvironmentOptions']['proxySettings']=_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0x16d)],_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0x16b)]=_0x1a9b84[_0x3b4f60(0x161)](_0x5707a5['testTimeout'],0x1)||0x1388,_0x17b717[_0x3b4f60(0x168)]['skipSessionName']=_0x1137e4['config'][_0x3b4f60(0x142)][_0x3b4f60(0x108)],_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0x173)]=_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0x142)][_0x3b4f60(0x173)],_0x17b717['testEnvironmentOptions']['browserStackLogLevel']=_0x1137e4['config']['logLevel'],_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0x15a)]=_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0x15a)],_0x17b717['testEnvironmentOptions'][_0x3b4f60(0xe6)]=_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0xa4)];const _0x119f25=helper[_0x3b4f60(0x112)](_0x1137e4[_0x3b4f60(0x152)]);if(!helper[_0x3b4f60(0xb0)](_0x119f25)){helper['isNotUndefined'](_0x119f25['retryTestsOnFailure'])&&(_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0xd4)]=_0x119f25[_0x3b4f60(0xaa)]['maxRetries']);if(helper[_0x3b4f60(0xf9)](_0x119f25['abortBuildOnFailure'])&&helper[_0x3b4f60(0xf9)](_0x119f25['abortBuildOnFailure'][_0x3b4f60(0x13c)])){const _0x53b021={};_0x53b021['failureThresholdCount']=_0x119f25[_0x3b4f60(0xc2)][_0x3b4f60(0x124)],_0x53b021[_0x3b4f60(0x13c)]=_0x119f25[_0x3b4f60(0xc2)]['workingDir'],_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0x156)]=_0x53b021;}}let _0x48fa3f='';_0x1a9b84[_0x3b4f60(0x167)](helper[_0x3b4f60(0xe4)](),constants[_0x3b4f60(0x11b)][_0x3b4f60(0x13d)])?_0x48fa3f=_0x1a9b84[_0x3b4f60(0xf8)]:_0x48fa3f=_0x1a9b84['RdTIy'];const _0xa6bb50=_0x48fa3f,_0x4d399d=path[_0x3b4f60(0xcb)](__dirname,_0x1a9b84[_0x3b4f60(0x144)],_0x1a9b84[_0x3b4f60(0x10f)]),_0x2f8a87=path[_0x3b4f60(0xcb)](__dirname,_0x1a9b84[_0x3b4f60(0x144)],_0x1a9b84[_0x3b4f60(0xb8)]),_0xcd59b5=path['join'](__dirname,_0x1a9b84[_0x3b4f60(0x144)],_0x1a9b84[_0x3b4f60(0xdd)]);_0x17b717[_0x3b4f60(0x133)]&&(process[_0x3b4f60(0xfc)][_0x3b4f60(0x146)]=_0x17b717[_0x3b4f60(0x133)]);_0x17b717['testEnvironment']=path[_0x3b4f60(0xcb)](__dirname,_0x1a9b84[_0x3b4f60(0x144)],_0x1a9b84[_0x3b4f60(0x105)]),_0x17b717[_0x3b4f60(0xf7)]=_0x2f8a87,_0x17b717[_0x3b4f60(0x139)]=_0x17b717[_0x3b4f60(0x139)]||[],_0x17b717[_0x3b4f60(0x139)][_0x3b4f60(0xc7)](path['join'](__dirname,_0x1a9b84[_0x3b4f60(0xe3)]));_0x45a961['isTestOrchestrationEnabled']()&&(_0x17b717[_0x3b4f60(0x126)]=path['join'](__dirname,_0x1a9b84['JhdhZ'],_0x1a9b84[_0x3b4f60(0xef)]));if(testhubUtils['shouldProcessEventForTesthub']()){let _0x568ec3=null;try{_0x568ec3=helper[_0x3b4f60(0x162)](_0x1a9b84[_0x3b4f60(0x16a)],_0x1a9b84[_0x3b4f60(0xe0)]);}catch(_0x5b9f59){_0x1a9b84[_0x3b4f60(0x141)](debug,_0x3b4f60(0x145)+_0x5b9f59);}_0x568ec3&&(_0x17b717['setupFilesAfterEnv'][_0x3b4f60(0xc7)](path[_0x3b4f60(0xcb)](__dirname,_0x1a9b84[_0x3b4f60(0xc4)],_0x1a9b84[_0x3b4f60(0xf0)])),_0x17b717[_0x3b4f60(0xdc)]=path[_0x3b4f60(0xcb)](__dirname,_0x1a9b84['JhdhZ'],_0x1a9b84['Szhvm']));}_0x17b717['setupFiles']=_0x17b717[_0x3b4f60(0x11c)]||[];try{helper[_0x3b4f60(0x149)](),_0x17b717[_0x3b4f60(0x11c)][_0x3b4f60(0xc7)](path[_0x3b4f60(0xcb)](__dirname,_0x1a9b84[_0x3b4f60(0x158)]));}catch{logger['debug'](_0x1a9b84['XpPhs']);}_0x17b717['reporters']=_0x17b717[_0x3b4f60(0xbb)]||[_0x1a9b84[_0x3b4f60(0x14f)]],_0x1a9b84[_0x3b4f60(0x135)](updateTestRerunConfig,_0x17b717,_0x1137e4);const _0x402d80=fs[_0x3b4f60(0xd5)](_0xcd59b5);fs[_0x3b4f60(0x13a)](_0x17b717[_0x3b4f60(0xf7)],'\x0a\x20\x20\x20\x20'+_0x402d80+_0x3b4f60(0x118)+_0x1137e4[_0x3b4f60(0x152)]['platforms'][_0x3b4f60(0x15e)]+_0x3b4f60(0x106)),logger[_0x3b4f60(0xcd)](_0x3b4f60(0xbd)+_0xa6bb50+_0x3b4f60(0x117)),fs[_0x3b4f60(0x13a)](_0xa6bb50,_0x3b4f60(0xf1)+JSON[_0x3b4f60(0x120)](_0x17b717)+_0x3b4f60(0x169));if(_0x45a961[_0x3b4f60(0xb1)]()){logger['debug'](_0x1a9b84['DtRar']);const _0x3443a7=await _0x45a961[_0x3b4f60(0xac)](_0x17b717,_0x416264[_0x3b4f60(0x125)](0x1),_0xa6bb50);logger[_0x3b4f60(0xce)](_0x3b4f60(0x155)+JSON[_0x3b4f60(0x120)](_0x3443a7)+'\x20test\x20files\x20to\x20run.');const _0x11e00a=await _0x45a961[_0x3b4f60(0x12a)](_0x3443a7);logger['debug']('Reodered\x20Test\x20Files:\x20'+JSON['stringify'](_0x11e00a)),_0x11e00a&&_0x1a9b84[_0x3b4f60(0xe1)](_0x11e00a[_0x3b4f60(0x15e)],0x0)&&(process[_0x3b4f60(0xfc)][_0x3b4f60(0xee)]=_0x11e00a?.[_0x3b4f60(0xcb)](','));}logger[_0x3b4f60(0xcd)](_0x1a9b84[_0x3b4f60(0x127)]);testhubUtils[_0x3b4f60(0xad)]()&&TestDetails[_0x3b4f60(0x151)]();helper[_0x3b4f60(0x171)]({},_0x416264),PerformanceTester[_0x3b4f60(0x104)](PerformanceEvents[_0x3b4f60(0xd7)]);const _0x24b057=_0x1a9b84[_0x3b4f60(0xa7)](spawn,_0x1a9b84[_0x3b4f60(0x13e)],[_0x1a9b84[_0x3b4f60(0xb6)],_0x1a9b84[_0x3b4f60(0x12b)],_0xa6bb50,..._0x416264[_0x3b4f60(0x125)](0x1)],{'shell':_0x1a9b84[_0x3b4f60(0x167)](process[_0x3b4f60(0xa2)],_0x1a9b84['PneIU']),'stdio':_0x1a9b84[_0x3b4f60(0x136)],'env':Object[_0x3b4f60(0xf2)]({},process['env'])});_0x24b057['on'](_0x1a9b84[_0x3b4f60(0x134)],async _0x5d09b7=>{const _0x5a4b9b=_0x3b4f60;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x560733,tcgConfigPath:_0x56a604}=helper[_0x5a4b9b(0xeb)]();fs[_0x5a4b9b(0xc9)](_0x56a604),fs['rmdirSync'](_0x560733);}catch(_0x5445d4){logger[_0x5a4b9b(0xce)](_0x1a9b84['saLLR'],_0x5445d4);}process[_0x5a4b9b(0x10e)]=_0x5d09b7,logger[_0x5a4b9b(0xce)](_0x5a4b9b(0xe8)+_0x5d09b7),logger[_0x5a4b9b(0xcd)](_0x5a4b9b(0xf6)+_0xa6bb50);if(helper[_0x5a4b9b(0xf9)](_0x119f25)&&helper['isNotUndefined'](_0x119f25[_0x5a4b9b(0xc2)])&&fs[_0x5a4b9b(0x16f)](_0x119f25['abortBuildOnFailure'][_0x5a4b9b(0x13c)]))try{const _0x2a589e={};_0x2a589e[_0x5a4b9b(0x10b)]=!![],_0x2a589e[_0x5a4b9b(0x121)]=!![],fs[_0x5a4b9b(0xa3)](_0x119f25['abortBuildOnFailure']['workingDir'],_0x2a589e),logger['debug'](_0x5a4b9b(0xca)+_0x119f25['abortBuildOnFailure'][_0x5a4b9b(0x13c)]);}catch(_0x524269){logger[_0x5a4b9b(0xd6)](_0x5a4b9b(0x164)+_0x524269);}let _0x3b4be9=null;if(fs['existsSync'](_0x4d399d)){_0x3b4be9=fs[_0x5a4b9b(0xd5)](_0x4d399d);try{_0x3b4be9=JSON['parse'](_0x3b4be9);}catch(_0x316e94){logger[_0x5a4b9b(0xce)](_0x5a4b9b(0xec)+_0x4d399d+',\x20'+_0x3b4be9+'\x20:\x20'+_0x316e94);}fs[_0x5a4b9b(0xc9)](_0x4d399d);}fs[_0x5a4b9b(0xc9)](_0xa6bb50),fs[_0x5a4b9b(0xc9)](_0x2f8a87),_0x3b4be9&&(_0x1137e4[_0x5a4b9b(0xfe)]=helper[_0x5a4b9b(0x11f)](_0x3b4be9,_0x1a9b84[_0x5a4b9b(0xb6)],_0x1137e4));try{await TestHubHandler['stop']();}catch(_0x3f805c){console[_0x5a4b9b(0x122)](_0x3f805c),_0x1a9b84['Umkjf'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x5a4b9b(0xb5)](_0x3f805c));}testOpsHelper[_0x5a4b9b(0x150)](),TestDetails['shutdown'](),await utilities[_0x5a4b9b(0xdb)](_0x1137e4);});}module['exports']=run;
|
|
2
|
+
'use strict';const a16_0x3b4897=a16_0x4a4a;(function(_0x48a6f8,_0x210217){const _0x42844f=a16_0x4a4a,_0x544da6=_0x48a6f8();while(!![]){try{const _0x235cf7=-parseInt(_0x42844f(0x288))/0x1*(-parseInt(_0x42844f(0x205))/0x2)+-parseInt(_0x42844f(0x293))/0x3+parseInt(_0x42844f(0x217))/0x4+parseInt(_0x42844f(0x201))/0x5+parseInt(_0x42844f(0x2ac))/0x6*(-parseInt(_0x42844f(0x2ad))/0x7)+parseInt(_0x42844f(0x22b))/0x8+-parseInt(_0x42844f(0x277))/0x9;if(_0x235cf7===_0x210217)break;else _0x544da6['push'](_0x544da6['shift']());}catch(_0x3cec5e){_0x544da6['push'](_0x544da6['shift']());}}}(a16_0x5c60,0xa3f1d));function a16_0x5c60(){const _0x112f16=['shutdown','info','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','platform','480bQuKwK','34832mbVLnp','../../helpers/logger','config','pdrjM','customTestRunnerTemplate.js','proxySettings','push','maxWorkers','accessibility','findIndex','SDK_SETUP','jest_browserstack.config.cjs',';\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','mJrBL','const\x20config=','testContextOptions','QKCVI','util','abortBuildOnFailure','customEnvironment.js','child\x20process\x20exited\x20with\x20code\x20','faJqc','setupTCGAuth','exports','IZmpJ','accessibilityOptions','JEST','isNotUndefined','jest-circus','6077950ihqUxQ','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','slice','child_process','6XXtMpC','lAWlT','jest.setup.js','path','join','jest_browserstack_results.json','platformCaps','splice','jest-config','VZmYj','EVENTS','Getting\x20your\x20jest\x20configs\x20from\x20','initialize','../../helpers/performance/performance-tester','../../helpers/test-observability/constants','lkzVK','shouldProcessEventForTesthub','writeFileSync','1338420KeDSMA','requireModule','bhXoQ','cwd','../../helpers/BrowserStackSetup','true','Found:\x20','launchBuild','bZxBm','parseTestOrchestrationOptions','rPZhi','lJiDR','lMrdq','requireSeleniumWebdriver','../../helpers/test-orchestration/testOrchestrationHandler','SBvvY','platforms','getErrorMessageFromResults','force','jkjzY','459808YVIgGe','testObservability','./test-observability/helper','error\x20removing\x20tcg\x20config\x20file','default','testEnvironmentOptions','setup','NzssX','Error\x20while\x20parsing\x20','skipSessionStatus','\x0a\x20\x20\x20\x20','failureThresholdCount','cjs','stringify','../../helpers/helper','SDK_CLEANUP','setupFilesAfterEnv','../../helpers/testhub/utils','bbmmy','isUndefined','parallels__','UWYzo','browserStackPercyOptions','errorMessage','jest.config.','JEST_TEST_ORDER','handleApp','kRRRl','turboScaleUrl','customCircus.js','retryTestsOnFailure','existsSync','testEnvironment','prepareCapabilities','ewOOG','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testTimeout','env','lWuFM','maxRetries','useW3C','log','dYalG','nVVNs','format','Qubgv','Deleted\x20fail-fast\x20state\x20folder:\x20','isEmpty','Deleting\x20','assign','testRunner','debug','findTestFiles','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','length','runner','\x0amodule.exports\x20=\x20config;','\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','../../helpers/test-observability/utils','../../helpers/testhub/testhubHandler','maxFailures','JDuot','exitCode','BROWSERSTACK_TEST_ACCESSIBILITY_YML','winstonLogger','wUtoh','jest-config/build/readConfigFileAndSetRootDir.js','skipSessionName','diZXm','finalExecution','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','RrfdU','--config','LUOgH','false','BROWSERSTACK_TEST_OBSERVABILITY_YML','1828782JlfmJE','XRPxw','testSequencer','AqxhJ','PlebR','./test-observability/test-details','test_before.setup.js','FTmMC','workingDir','xMAZf','XDrkh','oiexL','EnnLw','MODULE','mjs','Creating\x20','../utils/constants','62247VIQFVU','capabilities','wVyay','filterBrowserstackArgs','printBuildLink','egJda','serial__','jest','start','getHubUrl','Reodered\x20Test\x20Files:\x20','1564851alSWUW','error','readFileSync','RFawd','resolve','customTestRunner.js','customSequencer.js','nxKlh','jopOu','cOLci','getTCGConfigFilePaths','FRAMEWORKS','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','PACKAGE_TYPE','setupFiles','reporters','unlinkSync','test-observability','rmSync','AIfBx'];a16_0x5c60=function(){return _0x112f16;};return a16_0x5c60();}function a16_0x4a4a(_0x4925b9,_0x2b4ee4){const _0x5c608a=a16_0x5c60();return a16_0x4a4a=function(_0x4a4a2a,_0x3b1b90){_0x4a4a2a=_0x4a4a2a-0x1ee;let _0x2b0d1f=_0x5c608a[_0x4a4a2a];return _0x2b0d1f;},a16_0x4a4a(_0x4925b9,_0x2b4ee4);}const fs=require('fs'),path=require(a16_0x3b4897(0x208)),util=require(a16_0x3b4897(0x1f5)),{spawn}=require(a16_0x3b4897(0x204)),logger=require(a16_0x3b4897(0x2ae))[a16_0x3b4897(0x26b)],{default:BrowserStackSetup}=require(a16_0x3b4897(0x21b)),helper=require(a16_0x3b4897(0x239)),utilities=require('../../helpers/utilities'),constants=require(a16_0x3b4897(0x287)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a16_0x3b4897(0x22d)),testOpsHelper=require(a16_0x3b4897(0x265)),{debug}=require(a16_0x3b4897(0x265)),TestDetails=require(a16_0x3b4897(0x27c)),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a16_0x3b4897(0x266)),testhubUtils=require(a16_0x3b4897(0x23c)),{FRAMEWORKS}=require(a16_0x3b4897(0x213)),PerformanceTester=require(a16_0x3b4897(0x212)),PerformanceEvents=require('../../helpers/performance/constants')[a16_0x3b4897(0x20f)],TestOrchestrationHandler=require(a16_0x3b4897(0x225)),getUserJestConfigs=async(_0x26c52d,_0x452595)=>{const _0x57054a=a16_0x3b4897,_0x330226={'aIeXf':_0x57054a(0x26d),'faJqc':_0x57054a(0x20d),'diZXm':function(_0x3137fc,_0x5c85a8){return _0x3137fc||_0x5c85a8;},'bWCcI':function(_0x2e1cbf,_0x50c94c){return _0x2e1cbf(_0x50c94c);},'bZxBm':'package.json','lJiDR':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','kRRRl':_0x57054a(0x285),'dYalG':_0x57054a(0x237),'EnnLw':'json'},_0x2e4c9c=helper[_0x57054a(0x218)](_0x330226['aIeXf'],_0x330226[_0x57054a(0x1f9)]),_0x1dfd94=_0x452595[_0x57054a(0x2b6)](_0x3923f2=>_0x3923f2===_0x57054a(0x273));if(!helper[_0x57054a(0x23e)](_0x26c52d[_0x57054a(0x2af)])){logger[_0x57054a(0x2a9)](_0x57054a(0x210)+_0x26c52d[_0x57054a(0x2af)]),process[_0x57054a(0x250)]['USER_CONFIG_DETAILS_PATH']=_0x26c52d[_0x57054a(0x2af)];const _0x3fb064=await(0x0,_0x2e4c9c['default'])(path[_0x57054a(0x297)](_0x26c52d[_0x57054a(0x2af)]));return _0x452595[_0x57054a(0x20c)](_0x1dfd94,0x2),_0x330226[_0x57054a(0x26f)](_0x3fb064,{});}const _0x5e6e0a=_0x330226['bWCcI'](require,path[_0x57054a(0x209)](process['cwd'](),_0x330226[_0x57054a(0x21f)]));if(_0x5e6e0a[_0x57054a(0x28f)])return logger[_0x57054a(0x2a9)](_0x330226[_0x57054a(0x222)]),_0x5e6e0a[_0x57054a(0x28f)];const _0x2e2121=['js',_0x330226[_0x57054a(0x246)],_0x330226[_0x57054a(0x255)],_0x330226[_0x57054a(0x283)],'ts'];for(const _0x515034 of _0x2e2121){const _0x5d2896=path[_0x57054a(0x209)](process[_0x57054a(0x21a)](),_0x57054a(0x243)+_0x515034);if(fs[_0x57054a(0x24a)](_0x5d2896)){process[_0x57054a(0x250)]['USER_CONFIG_DETAILS_PATH']=_0x5d2896;const _0x2cc680=await(0x0,_0x2e4c9c[_0x57054a(0x22f)])(_0x5d2896);return _0x2cc680;}}return{};},getSerial=(_0x416e2f,_0x40d65f)=>{const _0x1d363f=a16_0x3b4897,_0x129a8a={};_0x129a8a[_0x1d363f(0x272)]=_0x1d363f(0x21c),_0x129a8a['inHkH']=function(_0x524c10,_0x52f2ba){return _0x524c10>_0x52f2ba;},_0x129a8a[_0x1d363f(0x281)]=function(_0x479581,_0x56fe34){return _0x479581>_0x56fe34;},_0x129a8a[_0x1d363f(0x29b)]=_0x1d363f(0x275);const _0x156709=_0x129a8a;let _0x4d2a6b=_0x156709[_0x1d363f(0x272)];return _0x156709['inHkH'](_0x416e2f[_0x1d363f(0x261)],0x1)&&(!_0x40d65f['runInBand']&&(helper[_0x1d363f(0x23e)](_0x40d65f[_0x1d363f(0x2b4)])||_0x156709[_0x1d363f(0x281)](_0x40d65f[_0x1d363f(0x2b4)],0x1)))&&(_0x4d2a6b=_0x156709[_0x1d363f(0x29b)]),_0x4d2a6b;},getMaxWorkers=(_0x50c475,_0x327c9c,_0x2ca6fb)=>{const _0x5b441a=a16_0x3b4897,_0x97fe20={'bbmmy':function(_0x2f8f19,_0x4653d7){return _0x2f8f19(_0x4653d7);}};let _0x56741c=0x1;if(!helper[_0x5b441a(0x23e)](_0x327c9c['parallelsPerPlatform']))_0x56741c=_0x97fe20[_0x5b441a(0x23d)](parseInt,_0x327c9c['parallelsPerPlatform']);else{if(!helper[_0x5b441a(0x23e)](_0x50c475[_0x5b441a(0x2b4)]))_0x56741c=_0x50c475[_0x5b441a(0x2b4)];else!helper[_0x5b441a(0x23e)](_0x2ca6fb[_0x5b441a(0x2b4)])&&(_0x56741c=_0x2ca6fb[_0x5b441a(0x2b4)]);}return _0x56741c;};async function run(_0x45d01a,_0x140177,_0x1bb707){const _0x4a8e57=a16_0x3b4897,_0x17ffee={'xMAZf':_0x4a8e57(0x22e),'SBvvY':'jest','jkjzY':function(_0x33bc8f,_0x5644d4){return _0x33bc8f(_0x5644d4);},'LUOgH':function(_0x7e54b1,_0x1bce65){return _0x7e54b1!=_0x1bce65;},'RFawd':_0x4a8e57(0x21c),'LKXZA':function(_0x2324fb,_0x57720a,_0x4b3372){return _0x2324fb(_0x57720a,_0x4b3372);},'FTmMC':_0x4a8e57(0x2a0),'JDuot':function(_0x2ed75c,_0x240879){return _0x2ed75c(_0x240879);},'egJda':function(_0x3d5b2c,_0x2c624f,_0x1e7b4b){return _0x3d5b2c(_0x2c624f,_0x1e7b4b);},'wUtoh':function(_0x160fd0,_0x3b896c,_0xec8b03,_0x585cfe){return _0x160fd0(_0x3b896c,_0xec8b03,_0x585cfe);},'mmVKf':function(_0x30de2c,_0x2cfd26){return _0x30de2c*_0x2cfd26;},'nVVNs':function(_0x21f208,_0x1cfd78){return _0x21f208===_0x1cfd78;},'lMrdq':_0x4a8e57(0x1ef),'pdrjM':'jest_browserstack.config.js','ewOOG':'customImplements','nxKlh':_0x4a8e57(0x20a),'XRPxw':_0x4a8e57(0x298),'Tjrpk':_0x4a8e57(0x2b1),'cOLci':_0x4a8e57(0x1f7),'oiexL':_0x4a8e57(0x207),'VZmYj':_0x4a8e57(0x299),'bvUFq':_0x4a8e57(0x260),'AqxhJ':_0x4a8e57(0x200),'bhXoQ':function(_0xda261b,_0x46302b){return _0xda261b(_0x46302b);},'lkzVK':_0x4a8e57(0x2a5),'Qubgv':'data-hooks.js','NzssX':_0x4a8e57(0x248),'IZmpJ':_0x4a8e57(0x27d),'wVyay':_0x4a8e57(0x202),'lWuFM':_0x4a8e57(0x22f),'AIfBx':function(_0x22aea5,_0x28dfa7,_0x3b1435){return _0x22aea5(_0x28dfa7,_0x3b1435);},'QKCVI':_0x4a8e57(0x29f),'lAWlT':function(_0x1f8c90,_0x19308a){return _0x1f8c90>_0x19308a;},'rPZhi':_0x4a8e57(0x271),'UWYzo':function(_0xf7f582,_0x1720d0,_0x505a14,_0xfbe590){return _0xf7f582(_0x1720d0,_0x505a14,_0xfbe590);},'FqHVz':'npx','xUwMI':_0x4a8e57(0x273),'PlebR':'win32','mJrBL':'inherit','CpgCe':'close'};helper['isBrowserstackInfra']()?(await _0x1bb707[_0x4a8e57(0x211)](_0x45d01a),await helper[_0x4a8e57(0x245)](_0x1bb707[_0x4a8e57(0x2af)])):await _0x1bb707[_0x4a8e57(0x1fa)]();if(!_0x1bb707[_0x4a8e57(0x2af)])return;_0x17ffee[_0x4a8e57(0x274)](_0x1bb707[_0x4a8e57(0x2af)][_0x4a8e57(0x22c)],null)?process[_0x4a8e57(0x250)][_0x4a8e57(0x276)]=_0x1bb707[_0x4a8e57(0x2af)][_0x4a8e57(0x22c)]:process['env'][_0x4a8e57(0x276)]=_0x17ffee[_0x4a8e57(0x296)];const _0x14d64c=new TestOrchestrationHandler(_0x1bb707[_0x4a8e57(0x2af)]),_0x11a548=await _0x17ffee['LKXZA'](getUserJestConfigs,_0x45d01a,_0x140177);logger[_0x4a8e57(0x2a9)](_0x17ffee[_0x4a8e57(0x27e)]);const _0xebad1e=Object[_0x4a8e57(0x25c)]({},_0x11a548);_0xebad1e[_0x4a8e57(0x230)]=Object[_0x4a8e57(0x25c)]({},_0xebad1e[_0x4a8e57(0x230)],{'server':helper[_0x4a8e57(0x291)](_0x1bb707[_0x4a8e57(0x2af)]),'environment':_0x11a548[_0x4a8e57(0x24b)]}),_0xebad1e[_0x4a8e57(0x230)][_0x4a8e57(0x241)]=_0x17ffee[_0x4a8e57(0x268)](getPercyOptions,_0x1bb707[_0x4a8e57(0x2af)]);const _0x2b5658=helper[_0x4a8e57(0x253)](_0x1bb707['config']);!helper[_0x4a8e57(0x23e)](_0x1bb707[_0x4a8e57(0x2af)][_0x4a8e57(0x1fd)])&&(process[_0x4a8e57(0x250)][_0x4a8e57(0x24e)]=JSON[_0x4a8e57(0x238)](_0x1bb707['config']['accessibilityOptions']));const _0x3adb16=await TestHubHandler[_0x4a8e57(0x21e)](FRAMEWORKS[_0x4a8e57(0x1fe)],_0x1bb707),_0x15d22b=helper[_0x4a8e57(0x24c)](_0x1bb707[_0x4a8e57(0x2af)],_0x2b5658,constants[_0x4a8e57(0x29e)][_0x4a8e57(0x1fe)]);let _0x2f13dc=_0x1bb707['config'][_0x4a8e57(0x2b5)];_0x2f13dc=_0x2f13dc||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x1bb707['config']),process[_0x4a8e57(0x250)][_0x4a8e57(0x26a)]=_0x2f13dc,_0xebad1e[_0x4a8e57(0x230)][_0x4a8e57(0x289)]=_0x15d22b,_0xebad1e[_0x4a8e57(0x230)][_0x4a8e57(0x28e)]=_0x17ffee[_0x4a8e57(0x28d)](getSerial,_0x15d22b,_0x45d01a),_0xebad1e[_0x4a8e57(0x230)][_0x4a8e57(0x23f)]=_0x17ffee[_0x4a8e57(0x26c)](getMaxWorkers,_0x45d01a,_0x1bb707[_0x4a8e57(0x2af)],_0x11a548),_0xebad1e[_0x4a8e57(0x230)][_0x4a8e57(0x2b2)]=_0x1bb707[_0x4a8e57(0x2af)][_0x4a8e57(0x2b2)],_0xebad1e['testEnvironmentOptions']['timeout__']=_0x17ffee['mmVKf'](_0x45d01a[_0x4a8e57(0x24f)],0x1)||0x1388,_0xebad1e[_0x4a8e57(0x230)][_0x4a8e57(0x26e)]=_0x1bb707['config'][_0x4a8e57(0x1f3)][_0x4a8e57(0x26e)],_0xebad1e[_0x4a8e57(0x230)][_0x4a8e57(0x234)]=_0x1bb707[_0x4a8e57(0x2af)][_0x4a8e57(0x1f3)][_0x4a8e57(0x234)],_0xebad1e[_0x4a8e57(0x230)]['browserStackLogLevel']=_0x1bb707[_0x4a8e57(0x2af)]['logLevel'],_0xebad1e['testEnvironmentOptions'][_0x4a8e57(0x247)]=_0x1bb707[_0x4a8e57(0x2af)][_0x4a8e57(0x247)],_0xebad1e[_0x4a8e57(0x230)][_0x4a8e57(0x20b)]=_0x1bb707[_0x4a8e57(0x2af)]['platforms'];const _0x4d29cc=helper[_0x4a8e57(0x220)](_0x1bb707[_0x4a8e57(0x2af)]);if(!helper[_0x4a8e57(0x25a)](_0x4d29cc)){helper['isNotUndefined'](_0x4d29cc[_0x4a8e57(0x249)])&&(_0xebad1e[_0x4a8e57(0x230)]['retries__']=_0x4d29cc[_0x4a8e57(0x249)][_0x4a8e57(0x252)]);if(helper[_0x4a8e57(0x1ff)](_0x4d29cc[_0x4a8e57(0x1f6)])&&helper['isNotUndefined'](_0x4d29cc[_0x4a8e57(0x1f6)]['workingDir'])){const _0x52a7a2={};_0x52a7a2[_0x4a8e57(0x236)]=_0x4d29cc[_0x4a8e57(0x1f6)][_0x4a8e57(0x267)],_0x52a7a2[_0x4a8e57(0x27f)]=_0x4d29cc[_0x4a8e57(0x1f6)]['workingDir'],_0xebad1e[_0x4a8e57(0x230)]['failFast']=_0x52a7a2;}}let _0x483261='';_0x17ffee[_0x4a8e57(0x256)](helper['getPackageType'](),constants[_0x4a8e57(0x2a1)][_0x4a8e57(0x284)])?_0x483261=_0x17ffee[_0x4a8e57(0x223)]:_0x483261=_0x17ffee[_0x4a8e57(0x2b0)];const _0x4c2f5c=_0x483261,_0x85aee0=path[_0x4a8e57(0x209)](__dirname,_0x17ffee[_0x4a8e57(0x24d)],_0x17ffee[_0x4a8e57(0x29a)]),_0x27d4d3=path[_0x4a8e57(0x209)](__dirname,_0x17ffee[_0x4a8e57(0x24d)],_0x17ffee[_0x4a8e57(0x278)]),_0x1118e7=path[_0x4a8e57(0x209)](__dirname,_0x17ffee[_0x4a8e57(0x24d)],_0x17ffee['Tjrpk']);_0xebad1e[_0x4a8e57(0x24b)]&&(process['env']['BSTACK_JEST_TEST_ENV']=_0xebad1e['testEnvironment']);_0xebad1e[_0x4a8e57(0x24b)]=path['join'](__dirname,_0x17ffee[_0x4a8e57(0x24d)],_0x17ffee[_0x4a8e57(0x29c)]),_0xebad1e[_0x4a8e57(0x262)]=_0x27d4d3,_0xebad1e['setupFilesAfterEnv']=_0xebad1e[_0x4a8e57(0x23b)]||[],_0xebad1e[_0x4a8e57(0x23b)][_0x4a8e57(0x2b3)](path[_0x4a8e57(0x209)](__dirname,_0x17ffee[_0x4a8e57(0x282)]));_0x14d64c['isTestOrchestrationEnabled']()&&(_0xebad1e[_0x4a8e57(0x279)]=path[_0x4a8e57(0x209)](__dirname,_0x17ffee['ewOOG'],_0x17ffee[_0x4a8e57(0x20e)]));if(testhubUtils[_0x4a8e57(0x215)]()){let _0x4c5828=null;try{_0x4c5828=helper[_0x4a8e57(0x218)](_0x17ffee['bvUFq'],_0x17ffee[_0x4a8e57(0x27a)]);}catch(_0x2548d7){_0x17ffee[_0x4a8e57(0x219)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0x2548d7);}_0x4c5828&&(_0xebad1e[_0x4a8e57(0x23b)][_0x4a8e57(0x2b3)](path[_0x4a8e57(0x209)](__dirname,_0x17ffee[_0x4a8e57(0x214)],_0x17ffee[_0x4a8e57(0x258)])),_0xebad1e[_0x4a8e57(0x25d)]=path[_0x4a8e57(0x209)](__dirname,_0x17ffee[_0x4a8e57(0x24d)],_0x17ffee[_0x4a8e57(0x232)]));}_0xebad1e[_0x4a8e57(0x2a2)]=_0xebad1e[_0x4a8e57(0x2a2)]||[];try{helper[_0x4a8e57(0x224)](),_0xebad1e[_0x4a8e57(0x2a2)][_0x4a8e57(0x2b3)](path[_0x4a8e57(0x209)](__dirname,_0x17ffee[_0x4a8e57(0x1fc)]));}catch{logger['debug'](_0x17ffee[_0x4a8e57(0x28a)]);}_0xebad1e[_0x4a8e57(0x2a3)]=_0xebad1e['reporters']||[_0x17ffee[_0x4a8e57(0x251)]],_0x17ffee[_0x4a8e57(0x2a7)](updateTestRerunConfig,_0xebad1e,_0x1bb707);const _0x4265bf=fs[_0x4a8e57(0x295)](_0x1118e7);fs[_0x4a8e57(0x216)](_0xebad1e['runner'],_0x4a8e57(0x235)+_0x4265bf+_0x4a8e57(0x264)+_0x1bb707[_0x4a8e57(0x2af)][_0x4a8e57(0x227)]['length']+_0x4a8e57(0x1f0)),logger[_0x4a8e57(0x2a9)](_0x4a8e57(0x286)+_0x4c2f5c+'\x20with\x20browserstack\x20jest\x20configs'),fs[_0x4a8e57(0x216)](_0x4c2f5c,_0x4a8e57(0x1f2)+JSON['stringify'](_0xebad1e)+_0x4a8e57(0x263));if(_0x14d64c['isTestOrchestrationEnabled']()){logger[_0x4a8e57(0x25e)](_0x17ffee[_0x4a8e57(0x1f4)]);const _0xd84afd=await _0x14d64c[_0x4a8e57(0x25f)](_0xebad1e,_0x140177[_0x4a8e57(0x203)](0x1),_0x4c2f5c);logger[_0x4a8e57(0x25e)](_0x4a8e57(0x21d)+JSON[_0x4a8e57(0x238)](_0xd84afd)+'\x20test\x20files\x20to\x20run.');const _0x292697=await _0x14d64c['reorderTestFiles'](_0xd84afd);logger[_0x4a8e57(0x25e)](_0x4a8e57(0x292)+JSON[_0x4a8e57(0x238)](_0x292697)),_0x292697&&_0x17ffee[_0x4a8e57(0x206)](_0x292697[_0x4a8e57(0x261)],0x0)&&(process[_0x4a8e57(0x250)][_0x4a8e57(0x244)]=_0x292697?.[_0x4a8e57(0x209)](','));}logger[_0x4a8e57(0x2a9)](_0x17ffee[_0x4a8e57(0x221)]);testhubUtils[_0x4a8e57(0x215)]()&&TestDetails[_0x4a8e57(0x231)]();helper[_0x4a8e57(0x28b)]({},_0x140177),PerformanceTester['end'](PerformanceEvents[_0x4a8e57(0x1ee)]);const _0x265deb=_0x17ffee[_0x4a8e57(0x240)](spawn,_0x17ffee['FqHVz'],[_0x17ffee[_0x4a8e57(0x226)],_0x17ffee['xUwMI'],_0x4c2f5c,..._0x140177[_0x4a8e57(0x203)](0x1)],{'shell':_0x17ffee[_0x4a8e57(0x256)](process[_0x4a8e57(0x2ab)],_0x17ffee[_0x4a8e57(0x27b)]),'stdio':_0x17ffee[_0x4a8e57(0x1f1)],'env':Object[_0x4a8e57(0x25c)]({},process[_0x4a8e57(0x250)])});_0x265deb['on'](_0x17ffee['CpgCe'],async _0x1df9c7=>{const _0x563e2c=_0x4a8e57;PerformanceTester[_0x563e2c(0x290)](PerformanceEvents[_0x563e2c(0x23a)]);try{const {browserstackFolderPath:_0x22863b,tcgConfigPath:_0x541b47}=helper[_0x563e2c(0x29d)]();fs[_0x563e2c(0x2a4)](_0x541b47),fs['rmdirSync'](_0x22863b);}catch(_0x25d1d3){logger[_0x563e2c(0x25e)](_0x17ffee[_0x563e2c(0x280)],_0x25d1d3);}process[_0x563e2c(0x269)]=_0x1df9c7,logger['debug'](_0x563e2c(0x1f8)+_0x1df9c7),logger[_0x563e2c(0x2a9)](_0x563e2c(0x25b)+_0x4c2f5c);if(helper[_0x563e2c(0x1ff)](_0x4d29cc)&&helper[_0x563e2c(0x1ff)](_0x4d29cc[_0x563e2c(0x1f6)])&&fs[_0x563e2c(0x24a)](_0x4d29cc[_0x563e2c(0x1f6)]['workingDir']))try{const _0x4c970a={};_0x4c970a['recursive']=!![],_0x4c970a[_0x563e2c(0x229)]=!![],fs[_0x563e2c(0x2a6)](_0x4d29cc[_0x563e2c(0x1f6)][_0x563e2c(0x27f)],_0x4c970a),logger[_0x563e2c(0x25e)](_0x563e2c(0x259)+_0x4d29cc[_0x563e2c(0x1f6)]['workingDir']);}catch(_0x1312e7){logger[_0x563e2c(0x294)](_0x563e2c(0x2aa)+_0x1312e7);}let _0x404d4a=null;if(fs[_0x563e2c(0x24a)](_0x85aee0)){_0x404d4a=fs[_0x563e2c(0x295)](_0x85aee0);try{_0x404d4a=JSON['parse'](_0x404d4a);}catch(_0x5eb884){logger['debug'](_0x563e2c(0x233)+_0x85aee0+',\x20'+_0x404d4a+'\x20:\x20'+_0x5eb884);}fs[_0x563e2c(0x2a4)](_0x85aee0);}fs['unlinkSync'](_0x4c2f5c),fs['unlinkSync'](_0x27d4d3),_0x404d4a&&(_0x1bb707[_0x563e2c(0x242)]=helper[_0x563e2c(0x228)](_0x404d4a,_0x17ffee[_0x563e2c(0x226)],_0x1bb707));try{await TestHubHandler['stop']();}catch(_0x1aae50){console[_0x563e2c(0x254)](_0x1aae50),_0x17ffee[_0x563e2c(0x22a)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x563e2c(0x257)](_0x1aae50));}testOpsHelper[_0x563e2c(0x28c)](),TestDetails[_0x563e2c(0x2a8)](),await utilities[_0x563e2c(0x270)](_0x1bb707);});}module[a16_0x3b4897(0x1fb)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a17_0x1b22f8=a17_0x3209;(function(_0x33db88,_0x45ac80){const _0x1e9c0b=a17_0x3209,_0x544ab4=_0x33db88();while(!![]){try{const _0x4c9a09=parseInt(_0x1e9c0b(0x125))/0x1*(-parseInt(_0x1e9c0b(0x11d))/0x2)+-parseInt(_0x1e9c0b(0x119))/0x3+parseInt(_0x1e9c0b(0x11c))/0x4+parseInt(_0x1e9c0b(0x12a))/0x5+parseInt(_0x1e9c0b(0x11b))/0x6*(parseInt(_0x1e9c0b(0x116))/0x7)+parseInt(_0x1e9c0b(0x11f))/0x8*(parseInt(_0x1e9c0b(0x124))/0x9)+parseInt(_0x1e9c0b(0x122))/0xa*(parseInt(_0x1e9c0b(0x126))/0xb);if(_0x4c9a09===_0x45ac80)break;else _0x544ab4['push'](_0x544ab4['shift']());}catch(_0x1dc5f0){_0x544ab4['push'](_0x544ab4['shift']());}}}(a17_0x2887,0x687bf));function a17_0x3209(_0x20b0b2,_0x2fa7b8){const _0x288708=a17_0x2887();return a17_0x3209=function(_0x3209bc,_0x42a369){_0x3209bc=_0x3209bc-0x116;let _0x5a209b=_0x288708[_0x3209bc];return _0x5a209b;},a17_0x3209(_0x20b0b2,_0x2fa7b8);}const path=require('path'),{requireModule}=require(a17_0x1b22f8(0x12b));let initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js',a17_0x1b22f8(0x117));initJestAdapter=typeof initJestAdapter===a17_0x1b22f8(0x118)?initJestAdapter:initJestAdapter[a17_0x1b22f8(0x11a)];const FRAMEWORK_INITIALIZER=path[a17_0x1b22f8(0x120)](__dirname,a17_0x1b22f8(0x12c));function a17_0x2887(){const _0x28acb2=['mmFno','225888qQZrcA','join','initRequireModule','15870oCZKxT','requireInternalModule','171FmnKwV','35362HzYzET','495yaqGKp','kZyZR','exports','jestAdapterInit','595360MqAQqX','../../../helpers/helper','customJestAdapterInit.js','1976149UnUlTo','jest-circus','function','1485600OybVWk','default','6kuxRyg','928588CZSREX','18UeZeGZ'];a17_0x2887=function(){return _0x28acb2;};return a17_0x2887();}module[a17_0x1b22f8(0x128)]=(..._0x21dae5)=>{const _0x581b8d=a17_0x1b22f8,_0x2c3f22={'kZyZR':_0x581b8d(0x129),'rnVJr':function(_0x1ba67e,_0x4a5cdf){return _0x1ba67e===_0x4a5cdf;},'mmFno':function(_0x550bc5,..._0x50cd92){return _0x550bc5(..._0x50cd92);}};return _0x21dae5[0x3]['initRequireModule']=_0x21dae5[0x3][_0x581b8d(0x123)],_0x21dae5[0x3][_0x581b8d(0x123)]=(..._0x573d3b)=>{const _0x5a2ebc=_0x581b8d;if(_0x573d3b[0x0]&&_0x573d3b[0x0]['includes'](_0x2c3f22[_0x5a2ebc(0x127)])&&_0x2c3f22['rnVJr'](_0x573d3b[0x1],undefined))return _0x21dae5[0x3][_0x5a2ebc(0x121)](FRAMEWORK_INITIALIZER);return _0x21dae5[0x3][_0x5a2ebc(0x121)](..._0x573d3b);},_0x2c3f22[_0x581b8d(0x11e)](initJestAdapter,..._0x21dae5);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18_0x33f181=a18_0x119e;function a18_0x2b89(){const _0x211b67=['projectName','default','quit','225RZUHNh','errors','MWXLj','BSTACK_JEST_TEST_ENV','handleTestEvent','info','../../../helpers/logger','teardown','zBtMv','buildName','wafvU','getTestEnvironment','PMOeM','driver','isNotUndefined','browserstackPercyBestPlatform','sessionNameProvided','platformCaps','node','configuration','jest-config','Error\x20in\x20fail-fast\x20test_done\x20handler:','__skipSessionStatus','lHGas','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','Builder','percyCaptureMode','vkxxP','jest-environment-node','Smtjc','BSTACK_DELTA','__webdriver','__driversArray','message','38014930FefEkQ','testEnvironmentOptions','skipSessionStatus','BRxbH','join','kVelU','test_start','EavDh','__platformCaps','skipSessionName','failFastOptions','8|2|3|4|1|7|9|6|0|5','nrWML','browserStackGlobals','MgkZZ','browserStackPercyOptions','../../../index','resolveTestEnvironment','424264qPDrYc','vaudY','JEST','1138NzOTxW','../../../helpers/test-orchestration/failfastManager','../test-observability/obsReporter','15triNVP','cleanupDrivers','framework','oDMFP','../../../helpers/test-observability/utils','__drivers','dQTCN','shouldFailFast','getInstance','capability','zgjCS','3176454mWYguB','naTst','SWeGI','builder','tGLgh','dlgtj','browserstackAgentV2','debug','ApDPJ','projectConfig','browserstackPlatformIndex','NdJjT','DBYOv','modifyCommand','percy','qAIKs','skip','UXjWC','setup','requireModule','timeout__','onTestDone','test','failFastActive','nestedKeyValue','testContext','winstonLogger','shouldProcessEventForTesthub','bstack:options','1173345qeAuGI','global','__esModule','894348jfkFOt','cleanup','1380276zeWmKv','6YxCgTu','__timeout','../../../helpers/helper','../../../helpers/test-observability/requestQueueHandler','bXkPu','jest-resolve','testPath','\x20>\x20','cwd','rJbML','isTrue','failFast'];a18_0x2b89=function(){return _0x211b67;};return a18_0x2b89();}(function(_0x4583e2,_0x11055b){const _0x540e38=a18_0x119e,_0x17d7c8=_0x4583e2();while(!![]){try{const _0x7d5d0e=parseInt(_0x540e38(0x1a1))/0x1*(parseInt(_0x540e38(0x15b))/0x2)+parseInt(_0x540e38(0x155))/0x3+-parseInt(_0x540e38(0x15a))/0x4+parseInt(_0x540e38(0x1a4))/0x5*(-parseInt(_0x540e38(0x1af))/0x6)+-parseInt(_0x540e38(0x158))/0x7+parseInt(_0x540e38(0x19e))/0x8*(-parseInt(_0x540e38(0x16a))/0x9)+parseInt(_0x540e38(0x18c))/0xa;if(_0x7d5d0e===_0x11055b)break;else _0x17d7c8['push'](_0x17d7c8['shift']());}catch(_0x13a12e){_0x17d7c8['push'](_0x17d7c8['shift']());}}}(a18_0x2b89,0xc58b1));const helper=require(a18_0x33f181(0x15d)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a18_0x33f181(0x1a8)),RequestQueueHandler=require(a18_0x33f181(0x15e)),ObservabilityReporter=require(a18_0x33f181(0x1a3)),testhubUtils=require('../../../helpers/testhub/utils'),logger=require(a18_0x33f181(0x170))[a18_0x33f181(0x152)],getTestEnvironment=((()=>{const _0x371c6e=a18_0x33f181,_0x47ae03={};_0x47ae03[_0x371c6e(0x193)]=_0x371c6e(0x160),_0x47ae03['tGLgh']=_0x371c6e(0x17e);const _0x65176e=_0x47ae03;try{const _0x5c6e53=helper[_0x371c6e(0x14b)](_0x65176e[_0x371c6e(0x193)]);if(_0x5c6e53[_0x371c6e(0x19d)])return _0x5c6e53[_0x371c6e(0x19d)];const _0xc83bfe=helper[_0x371c6e(0x14b)](_0x65176e[_0x371c6e(0x1b3)]);if(_0xc83bfe[_0x371c6e(0x175)])return _0xc83bfe[_0x371c6e(0x175)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x50d4e7=a18_0x33f181,_0x2d3ae4={'UXjWC':function(_0x1fd42d,_0x70c9cd){return _0x1fd42d(_0x70c9cd);},'vkxxP':_0x50d4e7(0x17c),'oDMFP':_0x50d4e7(0x186)},_0x5a6498=_0x2d3ae4[_0x50d4e7(0x149)](getTestEnvironment,{'rootDir':process[_0x50d4e7(0x163)](),'testEnvironment':process['env'][_0x50d4e7(0x16d)]||_0x2d3ae4[_0x50d4e7(0x185)]});if(!_0x5a6498)return _0x2d3ae4[_0x50d4e7(0x149)](_interopRequireDefault,helper[_0x50d4e7(0x14b)](_0x2d3ae4[_0x50d4e7(0x1a7)]));return _0x2d3ae4['UXjWC'](_interopRequireDefault,helper[_0x50d4e7(0x14b)](_0x5a6498));})()),_seleniumWebdriver2=((()=>{const _0x48c075=a18_0x33f181,_0x17fa51={'qAIKs':function(_0x58b89c,_0x233d12){return _0x58b89c(_0x233d12);}};try{const _0x51ad67=helper['requireSeleniumWebdriver']();return helper[_0x48c075(0x1bc)](),_0x17fa51[_0x48c075(0x1be)](_interopRequireDefault,_0x51ad67);}catch{return null;}})());function _interopRequireDefault(_0x20a0fb){const _0x46812d=a18_0x33f181;return _0x20a0fb&&_0x20a0fb[_0x46812d(0x157)]?_0x20a0fb:{'default':_0x20a0fb};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default'][a18_0x33f181(0x183)]:null;function a18_0x119e(_0x2f44a9,_0x1cbfd2){const _0x2b8982=a18_0x2b89();return a18_0x119e=function(_0x119ebd,_0x385065){_0x119ebd=_0x119ebd-0x149;let _0x553059=_0x2b8982[_0x119ebd];return _0x553059;},a18_0x119e(_0x2f44a9,_0x1cbfd2);}class CustomEnvironment extends _jestUserEnvironment[a18_0x33f181(0x168)]{constructor(_0x1805d9){const _0x183d29=a18_0x33f181,_0x326cd2={'bXkPu':'quit','MWXLj':function(_0xd61730,_0x150580){return _0xd61730+_0x150580;},'dQTCN':_0x183d29(0x154),'BRxbH':function(_0x4870ec,_0x390fbd){return _0x4870ec(_0x390fbd);},'UIrsY':_0x183d29(0x1a2),'lHGas':_0x183d29(0x197),'rJbML':'testEnvironmentOptions','zgjCS':_0x183d29(0x19b),'wafvU':_0x183d29(0x1bd),'xlXbI':function(_0x1e1446,_0x205cd6){return _0x1e1446(_0x205cd6);},'vaudY':_0x183d29(0x19c),'ApDPJ':_0x183d29(0x179),'Smtjc':_0x183d29(0x184),'PMOeM':_0x183d29(0x17b)};super(_0x1805d9),this[_0x183d29(0x156)][_0x183d29(0x15c)]=0x0,this[_0x183d29(0x17d)]={};!_0x1805d9[_0x183d29(0x18d)]&&(_0x1805d9[_0x183d29(0x18d)]={});if(helper['isBrowserstackInfra']()){_0x1805d9[_0x183d29(0x18d)]=_0x1805d9['projectConfig']?_0x1805d9['projectConfig']['testEnvironmentOptions']:_0x1805d9[_0x183d29(0x18d)],this[_0x183d29(0x1b2)]=new _seleniumWebdriver2['default'][(_0x183d29(0x183))](),this[_0x183d29(0x1ad)]=_0x1805d9[_0x183d29(0x1b8)]?_0x1805d9[_0x183d29(0x1b8)][_0x183d29(0x1ad)]:_0x1805d9[_0x183d29(0x1ad)],this[_0x183d29(0x156)]['__timeout']=_0x326cd2[_0x183d29(0x16c)](this['configuration'][_0x183d29(0x14c)],constants[_0x183d29(0x188)]),this[_0x183d29(0x196)]=_0x1805d9[_0x183d29(0x18d)][_0x183d29(0x166)];if(this[_0x183d29(0x196)]){const _0x4a4a07=this['capability'][_0x326cd2[_0x183d29(0x1aa)]]?.[_0x183d29(0x173)]||'',_0x280642=this[_0x183d29(0x1ad)][_0x326cd2[_0x183d29(0x1aa)]]?.[_0x183d29(0x167)]||'';this[_0x183d29(0x166)]=new(_0x326cd2[_0x183d29(0x18f)](require,_0x326cd2['UIrsY']))(this[_0x183d29(0x196)],_0x4a4a07,_0x280642),this[_0x183d29(0x156)][_0x183d29(0x14f)]=![];}helper[_0x183d29(0x178)](this['configuration']['retries__'])&&(this[_0x183d29(0x156)]['__jestRetries']=this['configuration']['retries__']);}if(testhubUtils[_0x183d29(0x153)]()){const _0x27f688=new ObservabilityReporter();_0x27f688['registerListeners']();}this[_0x183d29(0x156)][_0x183d29(0x199)]={},this[_0x183d29(0x17d)]=_0x1805d9[_0x183d29(0x18d)],this[_0x183d29(0x17d)][_0x183d29(0x1a6)]=constants['FRAMEWORKS'][_0x183d29(0x1a0)];if(_seleniumWebdriver2){const _0x5562db=_0x326cd2[_0x183d29(0x181)]['split']('|');let _0x3c2c81=0x0;while(!![]){switch(_0x5562db[_0x3c2c81++]){case'0':this['global'][_0x183d29(0x180)]=helper[_0x183d29(0x165)](this[_0x183d29(0x17d)][_0x183d29(0x18e)]);continue;case'1':this[_0x183d29(0x156)][_0x183d29(0x1bd)]=helper[_0x183d29(0x150)](_0x1805d9,[_0x326cd2[_0x183d29(0x164)],_0x326cd2[_0x183d29(0x1ae)],_0x326cd2[_0x183d29(0x174)]]);continue;case'2':this[_0x183d29(0x156)][_0x183d29(0x189)]=_0x326cd2['xlXbI'](require,_0x326cd2[_0x183d29(0x19f)])[_0x183d29(0x1b5)]({...this[_0x183d29(0x17d)],'capability':this[_0x183d29(0x1ad)]||{}},this,testhubUtils[_0x183d29(0x153)]());continue;case'3':this[_0x183d29(0x156)][_0x183d29(0x1b9)]=(_0x1805d9['projectConfig']?_0x1805d9[_0x183d29(0x1b8)][_0x183d29(0x1b9)]:_0x1805d9[_0x183d29(0x1b9)])||0x0;continue;case'4':this[_0x183d29(0x156)][_0x183d29(0x179)]=helper[_0x183d29(0x150)](_0x1805d9,[_0x326cd2['rJbML'],_0x326cd2[_0x183d29(0x1ae)],_0x326cd2[_0x183d29(0x1b7)]]);continue;case'5':this[_0x183d29(0x156)][_0x183d29(0x159)]=async()=>{const _0x68db9b=_0x183d29;await this[_0x68db9b(0x156)][_0x68db9b(0x177)][_0x68db9b(0x169)](_0x326cd2[_0x68db9b(0x15f)]);};continue;case'6':helper['isTrue'](this[_0x183d29(0x17d)][_0x183d29(0x195)])?this[_0x183d29(0x156)]['sessionNameProvided']=!![]:this['global'][_0x183d29(0x17a)]=![];continue;case'7':this[_0x183d29(0x156)][_0x183d29(0x184)]=helper['nestedKeyValue'](_0x1805d9,[_0x326cd2[_0x183d29(0x164)],_0x326cd2['zgjCS'],_0x326cd2[_0x183d29(0x187)]]);continue;case'8':this[_0x183d29(0x156)][_0x183d29(0x1a9)]=[];continue;case'9':this[_0x183d29(0x156)][_0x183d29(0x194)]=helper[_0x183d29(0x150)](this[_0x183d29(0x17d)],[_0x326cd2[_0x183d29(0x176)],this[_0x183d29(0x156)]['browserstackPlatformIndex']])||{};continue;}break;}}}async[a18_0x33f181(0x171)](){const _0x29ebf4=a18_0x33f181;_seleniumWebdriver2&&(await helper[_0x29ebf4(0x1a5)](this['global'][_0x29ebf4(0x18a)]),this[_0x29ebf4(0x156)][_0x29ebf4(0x189)][_0x29ebf4(0x183)]=originalBuilder),await RequestQueueHandler[_0x29ebf4(0x1ac)]()['shutdown']();}async[a18_0x33f181(0x14a)](){}async[a18_0x33f181(0x16e)](_0x768837,_0x41f16a){const _0x458ffc=a18_0x33f181,_0x5bb557={};_0x5bb557[_0x458ffc(0x1bb)]=function(_0x50c4c4,_0x53840e){return _0x50c4c4===_0x53840e;},_0x5bb557[_0x458ffc(0x198)]=_0x458ffc(0x192),_0x5bb557[_0x458ffc(0x1b4)]=function(_0x5150a2,_0x4974d6){return _0x5150a2===_0x4974d6;},_0x5bb557[_0x458ffc(0x19a)]=_0x458ffc(0x1bf),_0x5bb557['NdJjT']='test_done',_0x5bb557[_0x458ffc(0x172)]=_0x458ffc(0x162),_0x5bb557[_0x458ffc(0x1b0)]=_0x458ffc(0x17f),_0x5bb557[_0x458ffc(0x191)]=function(_0x44aa21,_0x2f2ca6){return _0x44aa21===_0x2f2ca6;},_0x5bb557[_0x458ffc(0x1b1)]=_0x458ffc(0x171);const _0x2e7729=_0x5bb557,{name:_0x2a31e9}=_0x768837;if(_0x2e7729[_0x458ffc(0x1bb)](_0x2a31e9,_0x2e7729[_0x458ffc(0x198)])){this[_0x458ffc(0x156)][_0x458ffc(0x151)]=_0x768837['test'];if(_0x2e7729[_0x458ffc(0x1b4)](this[_0x458ffc(0x156)][_0x458ffc(0x14f)],!![])){const _0x4edceb=_0x768837[_0x458ffc(0x14e)]['name'];logger[_0x458ffc(0x16f)](_0x458ffc(0x182)+_0x4edceb),_0x768837[_0x458ffc(0x14e)]['mode']=_0x2e7729[_0x458ffc(0x19a)];}}if(this[_0x458ffc(0x166)]&&_0x2e7729[_0x458ffc(0x1bb)](_0x2a31e9,_0x2e7729[_0x458ffc(0x1ba)]))try{const _0x1be494=_0x768837[_0x458ffc(0x14e)][_0x458ffc(0x161)][_0x458ffc(0x190)](_0x2e7729[_0x458ffc(0x172)]),_0x634a89=_0x768837[_0x458ffc(0x14e)][_0x458ffc(0x16b)];await this['failFast'][_0x458ffc(0x14d)](_0x1be494,_0x634a89);const _0x2765de=await this['failFast'][_0x458ffc(0x1ab)]();_0x2e7729[_0x458ffc(0x1b4)](this[_0x458ffc(0x156)]['failFastActive'],![])&&_0x2e7729['DBYOv'](_0x2765de,!![])&&(this['global'][_0x458ffc(0x14f)]=!![]);}catch(_0x3f5729){logger[_0x458ffc(0x1b6)](_0x2e7729[_0x458ffc(0x1b0)],_0x3f5729[_0x458ffc(0x18b)]);}_0x2e7729[_0x458ffc(0x191)](_0x2a31e9,_0x2e7729[_0x458ffc(0x1b1)])&&(this[_0x458ffc(0x166)]&&this[_0x458ffc(0x166)][_0x458ffc(0x159)]());}}module['exports']=CustomEnvironment;
|
|
1
|
+
function a18_0x202d(_0xcff4a1,_0x5c9498){const _0x661edc=a18_0x661e();return a18_0x202d=function(_0x202d83,_0x4d2ef6){_0x202d83=_0x202d83-0xe0;let _0x53cc44=_0x661edc[_0x202d83];return _0x53cc44;},a18_0x202d(_0xcff4a1,_0x5c9498);}const a18_0x5be8be=a18_0x202d;(function(_0x2bb381,_0x37f7c0){const _0x33360b=a18_0x202d,_0x1621a8=_0x2bb381();while(!![]){try{const _0x1eeab6=-parseInt(_0x33360b(0xec))/0x1+parseInt(_0x33360b(0x150))/0x2*(-parseInt(_0x33360b(0x10b))/0x3)+parseInt(_0x33360b(0x14b))/0x4+parseInt(_0x33360b(0x11e))/0x5+-parseInt(_0x33360b(0x145))/0x6*(-parseInt(_0x33360b(0x12d))/0x7)+parseInt(_0x33360b(0x143))/0x8+-parseInt(_0x33360b(0x128))/0x9*(parseInt(_0x33360b(0xe9))/0xa);if(_0x1eeab6===_0x37f7c0)break;else _0x1621a8['push'](_0x1621a8['shift']());}catch(_0x73d883){_0x1621a8['push'](_0x1621a8['shift']());}}}(a18_0x661e,0x22a27));const helper=require(a18_0x5be8be(0x130)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a18_0x5be8be(0x107)),RequestQueueHandler=require(a18_0x5be8be(0x125)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a18_0x5be8be(0x13d)),logger=require(a18_0x5be8be(0x11b))['winstonLogger'],getTestEnvironment=((()=>{const _0x285e2c=a18_0x5be8be,_0x425746={};_0x425746[_0x285e2c(0x138)]=_0x285e2c(0x144),_0x425746['AzoHO']=_0x285e2c(0x119);const _0x368ca6=_0x425746;try{const _0x2d4807=helper[_0x285e2c(0xf2)](_0x368ca6[_0x285e2c(0x138)]);if(_0x2d4807[_0x285e2c(0x11c)])return _0x2d4807[_0x285e2c(0x11c)];const _0x5ddde5=helper[_0x285e2c(0xf2)](_0x368ca6[_0x285e2c(0x14a)]);if(_0x5ddde5[_0x285e2c(0x12f)])return _0x5ddde5[_0x285e2c(0x12f)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x260231=a18_0x5be8be,_0x29eed8={'gyePd':function(_0x40ff3a,_0x2727d3){return _0x40ff3a(_0x2727d3);},'jKotO':_0x260231(0x112),'dmtFc':function(_0x3c7d86,_0x4ed7ae){return _0x3c7d86(_0x4ed7ae);},'DArbE':_0x260231(0x154),'nSzyC':function(_0x507a91,_0x146b01){return _0x507a91(_0x146b01);}},_0x3033d1=_0x29eed8[_0x260231(0xfc)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x260231(0x126)][_0x260231(0xf7)]||_0x29eed8[_0x260231(0x136)]});if(!_0x3033d1)return _0x29eed8[_0x260231(0x123)](_interopRequireDefault,helper[_0x260231(0xf2)](_0x29eed8[_0x260231(0x111)]));return _0x29eed8[_0x260231(0x134)](_interopRequireDefault,helper['requireModule'](_0x3033d1));})()),_seleniumWebdriver2=((()=>{const _0x3376ce=a18_0x5be8be,_0x45f8b9={'mTmmy':function(_0x3b06d1,_0x4562d3){return _0x3b06d1(_0x4562d3);}};try{const _0x23433c=helper[_0x3376ce(0xfb)]();return helper[_0x3376ce(0x10a)](),_0x45f8b9[_0x3376ce(0x137)](_interopRequireDefault,_0x23433c);}catch{return null;}})());function _interopRequireDefault(_0x21c721){const _0xfce090=a18_0x5be8be;return _0x21c721&&_0x21c721[_0xfce090(0x149)]?_0x21c721:{'default':_0x21c721};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a18_0x5be8be(0x13a)][a18_0x5be8be(0xe7)]:null;class CustomEnvironment extends _jestUserEnvironment[a18_0x5be8be(0x13a)]{constructor(_0x315b1b){const _0x54f806=a18_0x5be8be,_0x4ecf2e={'ejjev':_0x54f806(0x155),'uwyYS':function(_0x1c2799,_0xa172ea){return _0x1c2799+_0xa172ea;},'RNZiB':_0x54f806(0x103),'bEMLu':function(_0x585253,_0x34aa5f){return _0x585253(_0x34aa5f);},'xkSuS':_0x54f806(0xef),'vSKQf':_0x54f806(0xfd),'DaOuZ':_0x54f806(0x13e),'MPCHS':_0x54f806(0xf1),'otKJj':'browserstackPercyBestPlatform','fcMoV':function(_0x32cb65,_0x167ac8){return _0x32cb65(_0x167ac8);},'kAkKj':'../../../index','FlOuO':'percyCaptureMode','zeamJ':_0x54f806(0xf5),'sBRyr':_0x54f806(0xe1)};super(_0x315b1b),this['global'][_0x54f806(0x156)]=0x0,this[_0x54f806(0x116)]={};!_0x315b1b[_0x54f806(0x13e)]&&(_0x315b1b[_0x54f806(0x13e)]={});if(helper[_0x54f806(0xea)]()){_0x315b1b[_0x54f806(0x13e)]=_0x315b1b[_0x54f806(0x133)]?_0x315b1b[_0x54f806(0x133)][_0x54f806(0x13e)]:_0x315b1b[_0x54f806(0x13e)],this[_0x54f806(0x102)]=new _seleniumWebdriver2[(_0x54f806(0x13a))][(_0x54f806(0xe7))](),this[_0x54f806(0xeb)]=_0x315b1b[_0x54f806(0x133)]?_0x315b1b[_0x54f806(0x133)][_0x54f806(0xeb)]:_0x315b1b[_0x54f806(0xeb)],this[_0x54f806(0x12b)]['__timeout']=_0x4ecf2e[_0x54f806(0x13f)](this[_0x54f806(0x116)][_0x54f806(0x11f)],constants[_0x54f806(0x151)]),this[_0x54f806(0x132)]=_0x315b1b[_0x54f806(0x13e)][_0x54f806(0x14e)];if(this[_0x54f806(0x132)]){const _0x3d71a9=this['capability'][_0x4ecf2e[_0x54f806(0x148)]]?.[_0x54f806(0x122)]||'',_0x8179b7=this[_0x54f806(0xeb)][_0x4ecf2e['RNZiB']]?.[_0x54f806(0x124)]||'';this['failFast']=new(_0x4ecf2e['bEMLu'](require,_0x4ecf2e['xkSuS']))(this[_0x54f806(0x132)],_0x3d71a9,_0x8179b7),this[_0x54f806(0x12b)]['failFastActive']=![];}helper[_0x54f806(0x147)](this[_0x54f806(0x116)][_0x54f806(0x110)])&&(this[_0x54f806(0x12b)][_0x54f806(0x12a)]=this[_0x54f806(0x116)][_0x54f806(0x110)]);}if(testhubUtils[_0x54f806(0x140)]()){const _0x50858b=new ObservabilityReporter();_0x50858b[_0x54f806(0xfa)]();}this[_0x54f806(0x12b)][_0x54f806(0xf0)]={},this['configuration']=_0x315b1b['testEnvironmentOptions'],this[_0x54f806(0x116)][_0x54f806(0x129)]=constants[_0x54f806(0x135)]['JEST'];if(_seleniumWebdriver2){const _0x5c7a8f=_0x4ecf2e[_0x54f806(0xe6)]['split']('|');let _0x67ab68=0x0;while(!![]){switch(_0x5c7a8f[_0x67ab68++]){case'0':this[_0x54f806(0x12b)][_0x54f806(0x10d)]=helper[_0x54f806(0x10c)](_0x315b1b,[_0x4ecf2e[_0x54f806(0x11a)],_0x4ecf2e['MPCHS'],_0x4ecf2e[_0x54f806(0x118)]]);continue;case'1':helper[_0x54f806(0x152)](this[_0x54f806(0x116)][_0x54f806(0xf3)])?this['global'][_0x54f806(0x12e)]=!![]:this['global'][_0x54f806(0x12e)]=![];continue;case'2':this[_0x54f806(0x12b)][_0x54f806(0x117)]=[];continue;case'3':this[_0x54f806(0x12b)]['__webdriver']=_0x4ecf2e[_0x54f806(0xf4)](require,_0x4ecf2e[_0x54f806(0x105)])[_0x54f806(0x141)]({...this[_0x54f806(0x116)],'capability':this[_0x54f806(0xeb)]||{}},this,testhubUtils[_0x54f806(0x140)]());continue;case'4':this['global'][_0x54f806(0xf6)]=(_0x315b1b['projectConfig']?_0x315b1b[_0x54f806(0x133)][_0x54f806(0xf6)]:_0x315b1b[_0x54f806(0xf6)])||0x0;continue;case'5':this[_0x54f806(0x12b)]['percyCaptureMode']=helper[_0x54f806(0x10c)](_0x315b1b,[_0x4ecf2e[_0x54f806(0x11a)],_0x4ecf2e[_0x54f806(0xe3)],_0x4ecf2e['FlOuO']]);continue;case'6':this[_0x54f806(0x12b)][_0x54f806(0xe4)]=async()=>{const _0x3b437b=_0x54f806;await this['global'][_0x3b437b(0xed)][_0x3b437b(0x155)](_0x4ecf2e[_0x3b437b(0x13c)]);};continue;case'7':this[_0x54f806(0x12b)][_0x54f806(0x139)]=helper[_0x54f806(0x10c)](this['configuration'],[_0x4ecf2e[_0x54f806(0x11d)],this[_0x54f806(0x12b)]['browserstackPlatformIndex']])||{};continue;case'8':this[_0x54f806(0x12b)][_0x54f806(0x10e)]=helper[_0x54f806(0x152)](this[_0x54f806(0x116)][_0x54f806(0xfe)]);continue;case'9':this[_0x54f806(0x12b)][_0x54f806(0xe1)]=helper[_0x54f806(0x10c)](_0x315b1b,[_0x4ecf2e['DaOuZ'],_0x4ecf2e[_0x54f806(0xe3)],_0x4ecf2e[_0x54f806(0xf8)]]);continue;}break;}}}async['teardown'](){const _0x3c6bcb=a18_0x5be8be;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x3c6bcb(0x12b)][_0x3c6bcb(0x106)]),this[_0x3c6bcb(0x12b)][_0x3c6bcb(0x104)][_0x3c6bcb(0xe7)]=originalBuilder),await RequestQueueHandler[_0x3c6bcb(0x146)]()[_0x3c6bcb(0x109)]();}async[a18_0x5be8be(0x14f)](){}async[a18_0x5be8be(0xee)](_0x54fa31,_0x331aa1){const _0x5157e9=a18_0x5be8be,_0x47d888={};_0x47d888['gpJwo']=function(_0x2f48c2,_0x50b6a3){return _0x2f48c2===_0x50b6a3;},_0x47d888[_0x5157e9(0xf9)]=_0x5157e9(0xe8),_0x47d888[_0x5157e9(0x114)]=function(_0x58b882,_0x1c535c){return _0x58b882===_0x1c535c;},_0x47d888['KFlMv']=_0x5157e9(0x131),_0x47d888['BUqKf']=function(_0x54aad7,_0x1790c8){return _0x54aad7===_0x1790c8;},_0x47d888['bjvsm']=_0x5157e9(0x113),_0x47d888[_0x5157e9(0x13b)]=_0x5157e9(0x14d),_0x47d888[_0x5157e9(0xe5)]=_0x5157e9(0x142),_0x47d888[_0x5157e9(0x14c)]=function(_0x4256d5,_0x4ad0ce){return _0x4256d5===_0x4ad0ce;},_0x47d888[_0x5157e9(0xff)]='teardown';const _0x5c7c0f=_0x47d888,{name:_0x58aebc}=_0x54fa31;if(_0x5c7c0f[_0x5157e9(0x108)](_0x58aebc,_0x5c7c0f[_0x5157e9(0xf9)])){this['global'][_0x5157e9(0x121)]=_0x54fa31[_0x5157e9(0xe0)];if(_0x5c7c0f['KnRoD'](this[_0x5157e9(0x12b)][_0x5157e9(0x12c)],!![])){const _0x3f6808=_0x54fa31[_0x5157e9(0xe0)][_0x5157e9(0xe2)];logger['info'](_0x5157e9(0x153)+_0x3f6808),_0x54fa31['test']['mode']=_0x5c7c0f[_0x5157e9(0x115)];}}if(this['failFast']&&_0x5c7c0f[_0x5157e9(0x100)](_0x58aebc,_0x5c7c0f[_0x5157e9(0x101)]))try{const _0x530b5d=_0x54fa31[_0x5157e9(0xe0)][_0x5157e9(0x127)][_0x5157e9(0x10f)](_0x5c7c0f['VEtfz']),_0xc4fe0e=_0x54fa31['test']['errors'];await this[_0x5157e9(0x14e)]['onTestDone'](_0x530b5d,_0xc4fe0e);const _0x5aecb5=await this[_0x5157e9(0x14e)][_0x5157e9(0x120)]();_0x5c7c0f[_0x5157e9(0x108)](this['global'][_0x5157e9(0x12c)],![])&&_0x5c7c0f[_0x5157e9(0x108)](_0x5aecb5,!![])&&(this[_0x5157e9(0x12b)][_0x5157e9(0x12c)]=!![]);}catch(_0x290bf0){logger['debug'](_0x5c7c0f[_0x5157e9(0xe5)],_0x290bf0['message']);}_0x5c7c0f['Vrocy'](_0x58aebc,_0x5c7c0f[_0x5157e9(0xff)])&&(this[_0x5157e9(0x14e)]&&this[_0x5157e9(0x14e)]['cleanup']());}}module['exports']=CustomEnvironment;function a18_0x661e(){const _0x3b4e28=['global','failFastActive','2485rnIQnK','sessionNameProvided','getTestEnvironment','../../../helpers/helper','skip','failFastOptions','projectConfig','nSzyC','FRAMEWORKS','jKotO','mTmmy','hgJTr','__platformCaps','default','VEtfz','ejjev','../../../helpers/testhub/utils','testEnvironmentOptions','uwyYS','shouldProcessEventForTesthub','browserstackAgentV2','Error\x20in\x20fail-fast\x20test_done\x20handler:','2257304mzDEEZ','jest-resolve','3804HIBqmN','getInstance','isNotUndefined','RNZiB','__esModule','AzoHO','884592dXZnzc','Vrocy','\x20>\x20','failFast','setup','142PVgczg','BSTACK_DELTA','isTrue','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','jest-environment-node','quit','__timeout','test','percy','name','MPCHS','cleanup','DMIuk','vSKQf','Builder','test_start','31670XMwXoX','isBrowserstackInfra','capability','167555uDCjUl','driver','handleTestEvent','../../../helpers/test-orchestration/failfastManager','browserStackGlobals','browserStackPercyOptions','requireModule','skipSessionName','fcMoV','platformCaps','browserstackPlatformIndex','BSTACK_JEST_TEST_ENV','sBRyr','ebXTl','registerListeners','requireSeleniumWebdriver','gyePd','2|3|4|0|9|5|7|1|8|6','skipSessionStatus','gYAtq','BUqKf','bjvsm','builder','bstack:options','__webdriver','kAkKj','__driversArray','../../../helpers/test-observability/utils','gpJwo','shutdown','modifyCommand','1059OBYrvK','nestedKeyValue','browserstackPercyBestPlatform','__skipSessionStatus','join','retries__','DArbE','node','test_done','KnRoD','KFlMv','configuration','__drivers','otKJj','jest-config','DaOuZ','../../../helpers/logger','resolveTestEnvironment','zeamJ','991645koIoHZ','timeout__','shouldFailFast','testContext','buildName','dmtFc','projectName','../../../helpers/test-observability/requestQueueHandler','env','testPath','1683qbXVuy','framework','__jestRetries'];a18_0x661e=function(){return _0x3b4e28;};return a18_0x661e();}
|