browserstack-node-sdk 1.34.54 → 1.34.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/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/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/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/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/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 a41_0x653afb=a41_0x263b;function a41_0x263b(_0x41e17b,_0x4afbe1){const _0x35a7a7=a41_0x35a7();return a41_0x263b=function(_0x263bf7,_0x5bf767){_0x263bf7=_0x263bf7-0x15e;let _0x7b730e=_0x35a7a7[_0x263bf7];return _0x7b730e;},a41_0x263b(_0x41e17b,_0x4afbe1);}(function(_0x593d3a,_0x1947b5){const _0x4cf5c7=a41_0x263b,_0x16ca16=_0x593d3a();while(!![]){try{const _0x12296d=-parseInt(_0x4cf5c7(0x1c0))/0x1*(parseInt(_0x4cf5c7(0x18e))/0x2)+-parseInt(_0x4cf5c7(0x218))/0x3+parseInt(_0x4cf5c7(0x1bd))/0x4+parseInt(_0x4cf5c7(0x174))/0x5+-parseInt(_0x4cf5c7(0x23b))/0x6+-parseInt(_0x4cf5c7(0x1a9))/0x7*(parseInt(_0x4cf5c7(0x1a0))/0x8)+parseInt(_0x4cf5c7(0x1ce))/0x9;if(_0x12296d===_0x1947b5)break;else _0x16ca16['push'](_0x16ca16['shift']());}catch(_0x4bfca4){_0x16ca16['push'](_0x16ca16['shift']());}}}(a41_0x35a7,0x84a8e));function a41_0x35a7(){const _0x2219d6=['Error\x20in\x20sending\x20trace\x20zip:\x20%s','getScope','BROWSERSTACK_O11Y_PERF_MEASUREMENT','Expected\x20to\x20fail,\x20but\x20passed.','lAwrN','gAnWg','IpzRI','onEnd','failure','Vjzeq','title','NlPTi','jayox','uxvhy','After\x20Hooks','1506190PUjLEs','hlPAn','nicLK','ElRPx','TEST_ATTACHMENT','START_TIME','shutdown','test_run_uuid','onStepEnd','DUTBV','ZhfaB','tMqcY','QgScH','getHierarchy','HookRunFinished','NTGjG','rnfxZ','zHAHo','51128QCeHds','beforeAll\x20hook','uploadEventData','event_type','performance-report-reporter.json','fIKsQ','Error\x20in\x20calculating\x20performance:\x20','exports','YNaEA','1001EmhfHc','startTime','length','Sending\x20session\x20details\x20for\x20','startedAt','./pwUtils','xqhpV','FhgWp','PLAYWRIGHT_TRACE_LOGS','zgmAC','file','LogCreated','BROWSERSTACK_TEST_RUN_ID','FoDUg','expectedStatus','GflhV','_bs_hookIdentifier','anDVY','HFtnW','wBBoQ','3096960UgJHyS','Uwxqh','oPojo','1IPieZY','CBTSessionCreated','../../../helpers/test-observability/sessionHandler','status','vLsja','test_run','sendHookRunEvent','passed','../../../helpers/test-observability/constants','split','Hook\x20Started\x20with\x20unique\x20id\x20','rFGsZ','_projectId','\x20at\x20','22103001VXFXsx','endSession','ObgNu','afterEach\x20hook','\x20for\x20','getStepIdentifier','indexOf','BEFORE_ALL','\x20is\x20triggered','xEITk','_tests','Hook\x20Finished\x20with\x20unique\x20id\x20','tkgyf','configureGit','onTestEnd','CNamt','toISOString','zXQwj','getInstance','mVUIL','join','errors','tAgBL','pending','category','expanded','attachments','failed','gahIB','relative','basename','getCustomRerunParam','hrsfk','\x20-\x20','duration','titlePath','lduQu','base64','getTestIdentifier','depth','gZvEX','../../../helpers/test-observability/requestQueueHandler','HDAKZ','trace_','env','needToReportStep','parent','.txt','push','ubiQo','toString','QjJgt','_testHooksMap','HookRunStarted','finishedAt','MyReporter','backtrace','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','jxUuW','sendSessionDetails','iwnHF','QggWg','existsSync','failure_type','wkMwU','message','bisCL','logs','steps','AFTER_ALL','screenshot','Yoaqn','XyUBO','yNRpO','2805534uUinvn','error','skipped','hook','TestRunFinished','getTestRunIdentifier','KyLVy','kgnAY','setup','RJrgZ','PLAYWRIGHT','aFfNj','javascript','beforeEach\x20hook','location','AkBdE','QIISU','BEFORE_EACH','lLTJz','LxCIs','lfMVA','LGnio','onTestBegin','\x20is\x20triggered\x20for\x20test\x20','inspect','SMWTk','setStepIdentifier','ehhcb','uMaVq','../../../helpers/helper','./test-details','HhSTD','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','gXodb','getTestUUID','2436174ZvPZel','failure_reason','Trace\x20file\x20found\x20for\x20test:\x20','Uyzrn','bQkdi','NAuJh','Qdcki','_tags','LAEAb','onStepBegin','object','_gitConfigured','IuBcz','VmwBr','HeIFd','meta','retry','LGJVT','_gitConfigPath','unknown','test','dgecv','Test\x20Started\x20with\x20unique\x20id\x20','../../../helpers/performance/performance-tester','YABQO','WCtMm','path','jpZfG','timedOut','name','homedir','Ydlhn','tHVeT','DpVOv','uuid','KapxF','../../../helpers/test-observability/utils','utf8','root','LefJW','TestRunStarted','onBegin','AqjFV','mkdirSync','retry_of','readFileSync','cwd','5|0|6|2|3|4|1','KXPii','result','JwnNe','Before\x20Hooks','VsROD','options','afterAll\x20hook','uFMvh','size','1607300nwchln','ASPfD','ebbcE','jiFYB','startsWith','map','statSync','err','format','reportLogs','TEST_STEP'];a41_0x35a7=function(){return _0x2219d6;};return a41_0x35a7();}const RequestQueueHandler=require(a41_0x653afb(0x1f7)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x653afb(0x1ae)),{v4:uuidv4}=require(a41_0x653afb(0x25d)),path=require(a41_0x653afb(0x255)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a41_0x653afb(0x15f)),{getGitMetaData,setLogLevel}=require(a41_0x653afb(0x235)),TestDetails=require(a41_0x653afb(0x236)),fs=require('fs'),util=require('util'),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),PerformanceTester=require(a41_0x653afb(0x252)),{FRAMEWORKS}=require(a41_0x653afb(0x1c8)),SessionHandler=require(a41_0x653afb(0x1c2)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),TestHubHandler=require('../../../helpers/testhub/testhubHandler'),helper=require(a41_0x653afb(0x235));class MyReporter{constructor(_0x2dcd74){const _0x1fbd64=a41_0x653afb,_0x20c05a={'jxUuW':_0x1fbd64(0x16a),'tHVeT':_0x1fbd64(0x1a4),'IuBcz':function(_0x39c895,_0x509e71,_0x11355c,_0xea0068){return _0x39c895(_0x509e71,_0x11355c,_0xea0068);}},_0x18339d=_0x20c05a[_0x1fbd64(0x208)][_0x1fbd64(0x1c9)]('|');let _0x23add4=0x0;while(!![]){switch(_0x18339d[_0x23add4++]){case'0':process[_0x1fbd64(0x1fa)][_0x1fbd64(0x181)]&&(PerformanceTester['startMonitoring'](_0x20c05a[_0x1fbd64(0x25b)]),process[_0x1fbd64(0x1fa)][_0x1fbd64(0x193)]=new Date()[_0x1fbd64(0x1de)]());continue;case'1':this[_0x1fbd64(0x24d)]=null;continue;case'2':this[_0x1fbd64(0x202)]={};continue;case'3':this[_0x1fbd64(0x170)]=_0x2dcd74;continue;case'4':this[_0x1fbd64(0x246)]=![];continue;case'5':const _0x342f76={};_0x342f76['logLevel']=process[_0x1fbd64(0x1fa)]['BROWSERSTACK_LOG_LEVEL'],_0x20c05a[_0x1fbd64(0x247)](setLogLevel,_0x342f76,new Map(),new Map());continue;case'6':this[_0x1fbd64(0x1d8)]={};continue;}break;}}async['onBegin'](){const _0x1e8404=a41_0x653afb;TestDetails[_0x1e8404(0x220)](),await this[_0x1e8404(0x1db)]();}async['onTestBegin'](_0x14cef0,_0x4bf9eb){const _0x5c19db=a41_0x653afb,_0x5ade99={'FoDUg':function(_0x5e13d2,_0xf3eb2d){return _0x5e13d2(_0xf3eb2d);},'HeIFd':_0x5c19db(0x163)},_0x59870c=this[_0x5c19db(0x1f4)](_0x14cef0),_0x314820=TestDetails['getTestUUID'](this[_0x5c19db(0x21d)](_0x14cef0,_0x4bf9eb['retry']));process[_0x5c19db(0x1fa)][_0x5c19db(0x1b5)]=_0x314820;const _0x444c3f={};_0x444c3f['uuid']=_0x314820,_0x444c3f[_0x5c19db(0x1ad)]=_0x4bf9eb[_0x5c19db(0x1aa)],this['_tests'][_0x59870c]=_0x444c3f,_0x5ade99[_0x5c19db(0x1b6)](trace,_0x5c19db(0x251)+_0x59870c),await this['sendTestRunEvent'](_0x14cef0,_0x5ade99[_0x5c19db(0x249)],_0x4bf9eb);}async[a41_0x653afb(0x244)](_0x34d76,_0x25de83,_0x300d57){const _0x1db07f=a41_0x653afb,_0x56fcf4={'bQkdi':function(_0x48d4a3,_0x3a8c41){return _0x48d4a3(_0x3a8c41);},'FIKLd':_0x1db07f(0x203)};if(!this[_0x1db07f(0x1fb)](_0x300d57,_0x34d76))return;const _0x2684d0=this[_0x1db07f(0x232)](_0x34d76,_0x300d57);this[_0x1db07f(0x1d8)][_0x2684d0]={'uuid':TestDetails[_0x1db07f(0x23a)](_0x2684d0),'startedAt':_0x300d57[_0x1db07f(0x1aa)]['toISOString']()};const _0x399729=this[_0x1db07f(0x21d)](_0x34d76,_0x25de83['retry']);!this[_0x1db07f(0x202)][_0x399729]&&(this[_0x1db07f(0x202)][_0x399729]=[]),this[_0x1db07f(0x202)][_0x399729][_0x1db07f(0x1fe)](this[_0x1db07f(0x1d8)][_0x2684d0][_0x1db07f(0x25d)]),_0x56fcf4[_0x1db07f(0x23f)](trace,_0x1db07f(0x1ca)+_0x2684d0+_0x1db07f(0x22f)+_0x399729),await this[_0x1db07f(0x1c6)](_0x34d76,_0x300d57,_0x56fcf4['FIKLd'],_0x25de83);}async[a41_0x653afb(0x196)](_0x43cbed,_0x3bbaa2,_0x1adb4d){const _0x4faba0=a41_0x653afb,_0x10a440={'LGnio':function(_0x439b7b,_0x58e31e){return _0x439b7b+_0x58e31e;},'Qdcki':function(_0x49313d,_0x132585){return _0x49313d(_0x132585);},'xqhpV':_0x4faba0(0x19c)};if(!this[_0x4faba0(0x1fb)](_0x1adb4d,_0x43cbed))return;const _0x2a4614=this[_0x4faba0(0x1d3)](_0x43cbed,_0x1adb4d);this[_0x4faba0(0x1d8)][_0x2a4614]={...this[_0x4faba0(0x1d8)][_0x2a4614]||{},'finishedAt':new Date(_0x10a440[_0x4faba0(0x22d)](_0x1adb4d[_0x4faba0(0x1aa)]['getTime'](),_0x1adb4d[_0x4faba0(0x1f0)]))},_0x10a440[_0x4faba0(0x241)](trace,_0x4faba0(0x1d9)+_0x2a4614+_0x4faba0(0x1d6)),await this['sendHookRunEvent'](_0x43cbed,_0x1adb4d,_0x10a440[_0x4faba0(0x1af)],_0x3bbaa2);}async[a41_0x653afb(0x1dc)](_0x441313,_0x554ada){const _0x5277f6=a41_0x653afb,_0x368d6a={'fIKsQ':function(_0x3c6081,_0x3cb70e){return _0x3c6081===_0x3cb70e;},'JWPij':_0x5277f6(0x214),'NAuJh':'TEST_SCREENSHOT','rFGsZ':_0x5277f6(0x1f3),'NlPTi':function(_0x1c7074,_0x9ec8b4){return _0x1c7074(_0x9ec8b4);},'kOXvW':_0x5277f6(0x21c),'hlPAn':_0x5277f6(0x238),'lCRip':function(_0x3a2fc5,_0x5db16f,_0x3f19c1){return _0x3a2fc5(_0x5db16f,_0x3f19c1);},'tkgyf':function(_0x549a08,_0x170f61){return _0x549a08(_0x170f61);},'IpzRI':_0x5277f6(0x17f),'Uwxqh':function(_0x4f5d57,_0x113a42){return _0x4f5d57>_0x113a42;}},_0x3ca571=this[_0x5277f6(0x1f4)](_0x441313),_0x1ed329=TestDetails[_0x5277f6(0x23a)](this['getTestRunIdentifier'](_0x441313,_0x554ada[_0x5277f6(0x24b)]));this[_0x5277f6(0x1d8)][_0x3ca571]={...this['_tests'][_0x3ca571]||{},'finishedAt':new Date()[_0x5277f6(0x1de)]()},_0x368d6a[_0x5277f6(0x18a)](trace,'Test\x20Finished\x20with\x20unique\x20id\x20'+_0x3ca571);try{await this['sendTestRunEvent'](_0x441313,_0x368d6a['kOXvW'],_0x554ada);}catch(_0x40abc4){_0x368d6a[_0x5277f6(0x18a)](debug,util[_0x5277f6(0x17c)](_0x368d6a[_0x5277f6(0x18f)],_0x40abc4[_0x5277f6(0x200)]()));}try{_0x368d6a['NlPTi'](debug,_0x5277f6(0x207)+_0x1ed329),await _0x368d6a['lCRip'](sendTraceZip,_0x554ada,_0x1ed329);}catch(_0x38f557){_0x368d6a[_0x5277f6(0x1da)](debug,util[_0x5277f6(0x17c)](_0x368d6a[_0x5277f6(0x185)],_0x38f557[_0x5277f6(0x200)]()));}const _0x489e2a=[];_0x554ada[_0x5277f6(0x1e8)]&&_0x554ada[_0x5277f6(0x1e8)][_0x5277f6(0x179)](_0x19e241=>{const _0x4c9a55=_0x5277f6;if(_0x368d6a[_0x4c9a55(0x1a5)](_0x19e241[_0x4c9a55(0x258)],_0x368d6a['JWPij'])){if(!_0x19e241[_0x4c9a55(0x255)]||!fs[_0x4c9a55(0x20c)](_0x19e241['path']))return;_0x489e2a[_0x4c9a55(0x1fe)]({'test_run_uuid':_0x1ed329,'timestamp':fs[_0x4c9a55(0x17a)](_0x19e241['path'])['mtime'],'kind':_0x368d6a[_0x4c9a55(0x240)],'message':fs[_0x4c9a55(0x168)](_0x19e241[_0x4c9a55(0x255)],{'encoding':_0x368d6a[_0x4c9a55(0x1cb)]})});}}),_0x368d6a[_0x5277f6(0x1be)](_0x489e2a['length'],0x0)&&await MyReporter['reportLogs'](_0x489e2a);}async[a41_0x653afb(0x1cf)](){const _0x186ac6=a41_0x653afb;await RequestQueueHandler[_0x186ac6(0x1e0)]()[_0x186ac6(0x194)]();}async[a41_0x653afb(0x186)](_0x1efc42){const _0x52a334=a41_0x653afb,_0x3042a6={'pACsQ':function(_0x5e1e38){return _0x5e1e38();},'KXPii':function(_0x5161b0,_0x4341b0){return _0x5161b0(_0x4341b0);}};await this[_0x52a334(0x1cf)]();try{process['env'][_0x52a334(0x181)]&&await _0x3042a6['pACsQ'](calculatePerformance);}catch(_0x3723b6){_0x3042a6[_0x52a334(0x16b)](debug,_0x52a334(0x1a6)+_0x3723b6[_0x52a334(0x200)]());}}static async['addTestUIDAndReportLog'](_0x2c82a3,_0x4aca34){const _0x12367a=a41_0x653afb;_0x4aca34[_0x12367a(0x195)]=TestDetails['getTestUUID'](_0x2c82a3),await this[_0x12367a(0x17d)]([_0x4aca34]);}static async[a41_0x653afb(0x17d)](_0x205c11){const _0x119993=a41_0x653afb,_0x4b8e56={};_0x4b8e56[_0x119993(0x19f)]=_0x119993(0x1b4);const _0x57bf78=_0x4b8e56,_0x34b319={};_0x34b319[_0x119993(0x1a3)]=_0x57bf78['zHAHo'],_0x34b319['logs']=_0x205c11,await SessionHandler[_0x119993(0x1a2)](_0x34b319);}async[a41_0x653afb(0x1c6)](_0x4fc604,_0x103d04,_0x20c73f,_0x3d2dc5){const _0x49eafc=a41_0x653afb,_0x3eea9b={'ZhfaB':_0x49eafc(0x21b),'jiFYB':_0x49eafc(0x224),'JwnNe':_0x49eafc(0x1e5),'vLsja':function(_0x40c842,_0x108c1d){return _0x40c842>=_0x108c1d;},'dgecv':function(_0x29ff40,_0x3e8908){return _0x29ff40===_0x3e8908;},'ASPfD':_0x49eafc(0x19c),'oPojo':function(_0x203ec9,_0x2a414a){return _0x203ec9>_0x2a414a;},'KapxF':'failed','ukAWD':function(_0x177771,_0x7c8a7f){return _0x177771(_0x7c8a7f);},'Yoaqn':function(_0x21fa98,_0x2ac972){return _0x21fa98(_0x2ac972);},'tMqcY':function(_0x4c0aad,_0x24a663,_0x4e17c4){return _0x4c0aad(_0x24a663,_0x4e17c4);},'gAnWg':_0x49eafc(0x17b),'CJzoK':_0x49eafc(0x1c7)},_0x590835=this['getStepIdentifier'](_0x4fc604,_0x103d04),_0x48d85a=this[_0x49eafc(0x1d8)][_0x590835],_0xe4a05e={'uuid':_0x48d85a[_0x49eafc(0x25d)],'type':_0x3eea9b[_0x49eafc(0x198)],'hook_type':this['getHookType'](_0x103d04['title']),'name':_0x103d04[_0x49eafc(0x189)],'scope':this[_0x49eafc(0x180)](_0x103d04),'scopes':this['getHierarchy'](_0x4fc604),'body':{'lang':_0x3eea9b[_0x49eafc(0x177)],'code':null},'identifier':_0x590835,'file_name':path[_0x49eafc(0x1eb)](process['cwd'](),_0x4fc604[_0x49eafc(0x226)][_0x49eafc(0x1b3)]),'location':path[_0x49eafc(0x1eb)](process[_0x49eafc(0x169)](),_0x4fc604[_0x49eafc(0x226)][_0x49eafc(0x1b3)]),'result':_0x3eea9b[_0x49eafc(0x16d)],'duration_in_ms':_0x3eea9b[_0x49eafc(0x1c4)](_0x103d04[_0x49eafc(0x1f0)],0x0)?_0x103d04[_0x49eafc(0x1f0)]:undefined,'vc_filepath':this[_0x49eafc(0x24d)]&&_0x4fc604[_0x49eafc(0x226)][_0x49eafc(0x1b3)]?path[_0x49eafc(0x1eb)](this['_gitConfigPath'],_0x4fc604['location'][_0x49eafc(0x1b3)]):undefined,'started_at':_0x48d85a[_0x49eafc(0x1ad)],'finished_at':_0x48d85a['finishedAt'],'framework':FRAMEWORKS[_0x49eafc(0x222)]};if(_0x3eea9b[_0x49eafc(0x250)](_0x20c73f,_0x3eea9b[_0x49eafc(0x175)])){const {steps:_0x53d593,logs:_0x261ea0}=this['getStepsAndLogs'](_0x103d04[_0x49eafc(0x212)],_0x48d85a['uuid'],_0x3eea9b[_0x49eafc(0x198)]);_0x261ea0&&_0x3eea9b[_0x49eafc(0x1bf)](_0x261ea0['length'],0x0)&&await MyReporter[_0x49eafc(0x17d)](_0x261ea0);const _0x1266e5={};_0x1266e5[_0x49eafc(0x212)]=_0x53d593,_0xe4a05e[_0x49eafc(0x24a)]=_0x1266e5;if(_0x103d04[_0x49eafc(0x219)]){_0xe4a05e[_0x49eafc(0x16c)]=_0x3eea9b[_0x49eafc(0x15e)],_0xe4a05e[_0x49eafc(0x23c)]=_0x3eea9b['ukAWD'](removeAnsiColors,_0x103d04[_0x49eafc(0x219)][_0x49eafc(0x20f)]),_0xe4a05e['failure_type']=_0x3eea9b[_0x49eafc(0x215)](getFailureType,_0x103d04[_0x49eafc(0x219)][_0x49eafc(0x20f)]);const _0x1800c7=_0x3eea9b[_0x49eafc(0x199)](failureData,_0x103d04[_0x49eafc(0x219)],_0x3eea9b[_0x49eafc(0x184)]);if(_0x1800c7&&_0x3eea9b[_0x49eafc(0x250)](_0x1800c7[_0x49eafc(0x1ab)],0x0)){const _0x1fa19c={};_0x1fa19c[_0x49eafc(0x206)]=[_0xe4a05e[_0x49eafc(0x23c)]],_0x1fa19c[_0x49eafc(0x1e7)]=[],_0x1800c7['push'](_0x1fa19c);}_0xe4a05e[_0x49eafc(0x187)]=_0x1800c7;}else _0xe4a05e[_0x49eafc(0x16c)]=_0x3eea9b['CJzoK'];}const _0x33b1a0={};_0x33b1a0[_0x49eafc(0x1a3)]=_0x20c73f,_0x33b1a0['hook_run']=_0xe4a05e;const _0x48852f=_0x33b1a0;await SessionHandler[_0x49eafc(0x1a2)](_0x48852f);}['getStepsAndLogs'](_0x3c9aa6,_0x2b1655,_0x233cba){const _0x2140c0=a41_0x653afb,_0xaceae4={'YABQO':function(_0x974756,_0x41c42e){return _0x974756===_0x41c42e;},'lLTJz':'hook','iwnHF':function(_0x29a10a,_0x5bcc86){return _0x29a10a===_0x5bcc86;},'xEITk':_0x2140c0(0x18d),'RJrgZ':function(_0x1a7df4,_0x32d2b7){return _0x1a7df4===_0x32d2b7;},'LGJVT':_0x2140c0(0x16e),'AbaCM':function(_0x4b7785,_0x10060c){return _0x4b7785===_0x10060c;},'AkBdE':_0x2140c0(0x24f),'YNaEA':_0x2140c0(0x195),'NBfau':'hook_run_uuid','uxvhy':_0x2140c0(0x17e),'GflhV':_0x2140c0(0x1e9),'CfkoA':'passed','aFfNj':function(_0x2b87ec,_0x1edbac){return _0x2b87ec(_0x1edbac);},'KyLVy':function(_0xc6b461){return _0xc6b461();},'CNamt':function(_0x5a3f05,_0x48c557){return _0x5a3f05(_0x48c557);},'HqZvq':function(_0x1ab9ae,_0x16d99d,_0x1119ab){return _0x1ab9ae(_0x16d99d,_0x1119ab);},'jpZfG':function(_0x186358,_0x38b966,_0x347cfe){return _0x186358(_0x38b966,_0x347cfe);}},_0x163cb2=[],_0x29924f=[],_0x3764bf=_0x3c9aa6['filter'](_0x4aae3e=>{const _0x21863f=_0x2140c0;if(_0xaceae4[_0x21863f(0x253)](_0x4aae3e[_0x21863f(0x1e6)],_0xaceae4[_0x21863f(0x22a)])&&(_0xaceae4[_0x21863f(0x20a)](_0x4aae3e[_0x21863f(0x189)],_0xaceae4[_0x21863f(0x1d7)])||_0xaceae4[_0x21863f(0x221)](_0x4aae3e[_0x21863f(0x189)],_0xaceae4[_0x21863f(0x24c)])))return![];return!![];}),_0x569d40=(_0x4877aa,_0x570d26=![])=>{const _0x137127=_0x2140c0;if(_0xaceae4[_0x137127(0x20a)](_0x4877aa[_0x137127(0x212)][_0x137127(0x1ab)],0x0)){const _0x5ec288=_0xaceae4['AbaCM'](_0x233cba,_0xaceae4[_0x137127(0x227)])?_0xaceae4[_0x137127(0x1a8)]:_0xaceae4['NBfau'];_0x29924f[_0x137127(0x1fe)]({'kind':_0xaceae4[_0x137127(0x18c)],[_0x5ec288]:_0x2b1655,'message':_0x4877aa[_0x137127(0x189)],'timestamp':_0x4877aa[_0x137127(0x1aa)][_0x137127(0x1de)](),'level':_0x4877aa[_0x137127(0x219)]?_0xaceae4[_0x137127(0x1b8)]:_0xaceae4['CfkoA'],'duration':_0x4877aa[_0x137127(0x1f0)],'failure':_0x4877aa['error']&&_0x4877aa['error'][_0x137127(0x20f)]&&_0xaceae4['aFfNj'](removeAnsiColors,_0x4877aa[_0x137127(0x219)][_0x137127(0x20f)]),'failure_type':_0xaceae4[_0x137127(0x223)](getFailureType,_0x4877aa[_0x137127(0x219)]&&_0x4877aa[_0x137127(0x219)]['message'])});}else{!_0x570d26&&_0x163cb2[_0x137127(0x1fe)]({'id':_0xaceae4[_0x137127(0x21e)](uuidv4),'text':_0x4877aa[_0x137127(0x189)],'keyword':undefined,'started_at':_0x4877aa[_0x137127(0x1aa)][_0x137127(0x1de)](),'duration':_0x4877aa[_0x137127(0x1f0)],'result':_0x4877aa['error']?_0xaceae4[_0x137127(0x1b8)]:_0xaceae4['CfkoA'],'failure':_0x4877aa['error']&&_0x4877aa[_0x137127(0x219)][_0x137127(0x20f)]&&_0xaceae4[_0x137127(0x1dd)](removeAnsiColors,_0x4877aa[_0x137127(0x219)]['message']),'failure_type':_0xaceae4[_0x137127(0x1dd)](getFailureType,_0x4877aa[_0x137127(0x219)]&&_0x4877aa['error']['message'])});for(const _0x488cb4 of _0x4877aa['steps']){_0xaceae4['HqZvq'](_0x569d40,_0x488cb4,!![]);}}};for(const _0x5d92c9 of _0x3764bf){_0xaceae4[_0x2140c0(0x256)](_0x569d40,_0x5d92c9,![]);}const _0x582000={};return _0x582000[_0x2140c0(0x212)]=_0x163cb2,_0x582000[_0x2140c0(0x211)]=_0x29924f,_0x582000;}async['sendTestRunEvent'](_0x296eae,_0x123e06,_0x2e0082){const _0x40b8b7=a41_0x653afb,_0x1ec3b8={'bisCL':function(_0x209e36,_0x39d104){return _0x209e36(_0x39d104);},'SMWTk':_0x40b8b7(0x192),'wBBoQ':_0x40b8b7(0x1b1),'gahIB':_0x40b8b7(0x24f),'ehhcb':_0x40b8b7(0x224),'HDAKZ':_0x40b8b7(0x1e5),'anDVY':function(_0x5ae5a9,_0x26a0e1){return _0x5ae5a9(_0x26a0e1);},'hrsfk':function(_0x29fc02,_0x216638,_0x27192f,_0x4a73d8,_0x35bb4f){return _0x29fc02(_0x216638,_0x27192f,_0x4a73d8,_0x35bb4f);},'QgScH':function(_0x317225,_0x2b8032){return _0x317225>_0x2b8032;},'lAwrN':function(_0x3cad2d,_0x3b0e5e){return _0x3cad2d-_0x3b0e5e;},'kgnAY':function(_0x1d3571,_0x25f0d4){return _0x1d3571===_0x25f0d4;},'NTGjG':_0x40b8b7(0x21c),'QggWg':function(_0x15762a,_0x5aa6a4){return _0x15762a===_0x5aa6a4;},'zgmAC':_0x40b8b7(0x21a),'LAEAb':_0x40b8b7(0x1c7),'WCtMm':function(_0x4bf476,_0x28f8d3){return _0x4bf476===_0x28f8d3;},'jayox':_0x40b8b7(0x1e9),'wkMwU':_0x40b8b7(0x257),'Vjzeq':_0x40b8b7(0x182),'HhSTD':function(_0x3e705b,_0x1a9d4e,_0x3eaaaf){return _0x3e705b(_0x1a9d4e,_0x3eaaaf);},'ObgNu':function(_0xdb96b0,_0x4d6a70,_0x2df56c){return _0xdb96b0(_0x4d6a70,_0x2df56c);},'ubiQo':_0x40b8b7(0x255),'qiAtu':function(_0x119eaa,_0x61392c){return _0x119eaa(_0x61392c);},'gZvEX':'.browserstack','HFtnW':_0x40b8b7(0x160),'wpRjh':function(_0x4dcf8a,_0x26fc0f){return _0x4dcf8a!==_0x26fc0f;},'sVpvO':function(_0x23b0cc,_0x3f3d55){return _0x23b0cc===_0x3f3d55;}},_0x58ca3b=this[_0x40b8b7(0x1f4)](_0x296eae),_0x5b54ac=this[_0x40b8b7(0x180)](_0x296eae),_0x1e4119=this[_0x40b8b7(0x1d8)][_0x58ca3b],_0x550384=path[_0x40b8b7(0x1eb)](process['cwd'](),_0x296eae[_0x40b8b7(0x226)][_0x40b8b7(0x1b3)]);await this[_0x40b8b7(0x1db)]();const _0x4c6940={'uuid':_0x1e4119['uuid'],'type':_0x1ec3b8[_0x40b8b7(0x1ea)],'name':_0x296eae['title'],'body':{'lang':_0x1ec3b8[_0x40b8b7(0x233)],'code':_0x296eae['fn']['toString']()},'scope':_0x5b54ac,'scopes':this[_0x40b8b7(0x19b)](_0x296eae),'identifier':_0x58ca3b,'file_name':_0x550384,'location':_0x550384,'result':_0x1ec3b8[_0x40b8b7(0x1f8)],'duration_in_ms':_0x2e0082&&_0x2e0082['duration']?_0x2e0082[_0x40b8b7(0x1f0)]:null,'vc_filepath':this[_0x40b8b7(0x24d)]&&_0x296eae['location']['file']?path[_0x40b8b7(0x1eb)](this['_gitConfigPath'],_0x296eae[_0x40b8b7(0x226)][_0x40b8b7(0x1b3)]):undefined,'started_at':_0x1e4119[_0x40b8b7(0x1ad)],'finished_at':_0x1e4119[_0x40b8b7(0x204)],'framework':FRAMEWORKS[_0x40b8b7(0x222)],'customRerunParam':{'rerun_name':this[_0x40b8b7(0x1ed)](_0x296eae)},'tags':_0x1ec3b8[_0x40b8b7(0x1ba)](getTestTags,_0x296eae)};_0x1ec3b8[_0x40b8b7(0x1ee)](appendTesthubParams,_0x4c6940,_0x123e06,_0x296eae,FRAMEWORKS[_0x40b8b7(0x222)]);_0x2e0082&&_0x1ec3b8[_0x40b8b7(0x19a)](_0x2e0082['retry'],0x0)&&(_0x4c6940[_0x40b8b7(0x167)]=TestDetails['getTestUUID'](this[_0x40b8b7(0x21d)](_0x296eae,_0x1ec3b8[_0x40b8b7(0x183)](_0x2e0082['retry'],0x1))));if(_0x1ec3b8[_0x40b8b7(0x21f)](_0x123e06,_0x1ec3b8[_0x40b8b7(0x19d)])){_0x4c6940[_0x40b8b7(0x16c)]=_0x2e0082[_0x40b8b7(0x1c3)];if(_0x1ec3b8[_0x40b8b7(0x20b)](_0x2e0082['status'],_0x296eae[_0x40b8b7(0x1b7)]))_0x4c6940[_0x40b8b7(0x16c)]=_0x1ec3b8[_0x40b8b7(0x21f)](_0x2e0082[_0x40b8b7(0x1c3)],_0x1ec3b8['zgmAC'])?_0x1ec3b8[_0x40b8b7(0x1b2)]:_0x1ec3b8[_0x40b8b7(0x243)];else{(_0x1ec3b8[_0x40b8b7(0x20b)](_0x4c6940[_0x40b8b7(0x16c)],_0x1ec3b8[_0x40b8b7(0x243)])||_0x1ec3b8[_0x40b8b7(0x254)](_0x4c6940[_0x40b8b7(0x16c)],_0x1ec3b8[_0x40b8b7(0x18b)])||_0x1ec3b8[_0x40b8b7(0x254)](_0x4c6940[_0x40b8b7(0x16c)],_0x1ec3b8[_0x40b8b7(0x20e)]))&&(_0x4c6940[_0x40b8b7(0x16c)]=_0x1ec3b8[_0x40b8b7(0x18b)]);if(_0x1ec3b8[_0x40b8b7(0x20b)](_0x2e0082[_0x40b8b7(0x1c3)],_0x1ec3b8[_0x40b8b7(0x243)])&&_0x1ec3b8[_0x40b8b7(0x21f)](_0x296eae['expectedStatus'],_0x1ec3b8[_0x40b8b7(0x18b)])){const _0x9b6671={};_0x9b6671[_0x40b8b7(0x20f)]=_0x1ec3b8[_0x40b8b7(0x188)],_0x9b6671['stack']=_0x1ec3b8[_0x40b8b7(0x188)],_0x2e0082['error']=_0x9b6671,_0x2e0082['errors']=[_0x2e0082['error']];}}const _0x3f3ec6=this[_0x40b8b7(0x21d)](_0x296eae,_0x2e0082[_0x40b8b7(0x24b)]);_0x4c6940['hooks']=this[_0x40b8b7(0x202)][_0x3f3ec6];const {steps:_0x375309,logs:_0x48891e}=this['getStepsAndLogs'](_0x2e0082[_0x40b8b7(0x212)],_0x1e4119[_0x40b8b7(0x25d)],_0x1ec3b8[_0x40b8b7(0x1ea)]);await MyReporter[_0x40b8b7(0x17d)](_0x48891e);const _0x3e2c83={};_0x3e2c83[_0x40b8b7(0x212)]=_0x375309,_0x4c6940[_0x40b8b7(0x24a)]=_0x3e2c83;if(_0x2e0082[_0x40b8b7(0x219)]){_0x4c6940['failure_reason']=_0x1ec3b8['anDVY'](removeAnsiColors,_0x2e0082[_0x40b8b7(0x219)][_0x40b8b7(0x20f)]),_0x4c6940[_0x40b8b7(0x20d)]=_0x1ec3b8[_0x40b8b7(0x1ba)](getFailureType,_0x2e0082[_0x40b8b7(0x219)]['message']);const _0x5c3a17={};_0x5c3a17['test_run_uuid']=_0x1e4119['uuid'];const {failureData:_0x28b41c,logs:_0x1e5542}=_0x1ec3b8[_0x40b8b7(0x237)](getFailureData,_0x2e0082[_0x40b8b7(0x1e3)],_0x5c3a17);if(_0x28b41c&&_0x1ec3b8[_0x40b8b7(0x21f)](_0x28b41c[_0x40b8b7(0x1ab)],0x0)){const _0x79a6f={};_0x79a6f[_0x40b8b7(0x206)]=[_0x4c6940[_0x40b8b7(0x23c)]],_0x79a6f[_0x40b8b7(0x1e7)]=[],_0x28b41c[_0x40b8b7(0x1fe)](_0x79a6f);}_0x4c6940[_0x40b8b7(0x187)]=_0x28b41c,_0x1e5542&&_0x1ec3b8[_0x40b8b7(0x19a)](_0x1e5542[_0x40b8b7(0x1ab)],0x0)&&await MyReporter['reportLogs'](_0x1e5542);}}let _0x1e8f7f=_0x1ec3b8[_0x40b8b7(0x1d0)](findNestedKey,_0x2e0082,_0x1ec3b8[_0x40b8b7(0x1ff)]);if(_0x1e8f7f&&_0x1ec3b8[_0x40b8b7(0x210)](validateFilePath,_0x1e8f7f))_0x1ec3b8['qiAtu'](debug,_0x40b8b7(0x23d)+_0x1e4119[_0x40b8b7(0x25d)]+_0x40b8b7(0x1cd)+_0x1e8f7f);else{const _0xa2c849=path[_0x40b8b7(0x1e2)](helper[_0x40b8b7(0x259)](),_0x1ec3b8[_0x40b8b7(0x1f6)]);!fs[_0x40b8b7(0x20c)](_0xa2c849)&&fs[_0x40b8b7(0x166)](_0xa2c849),fs[_0x40b8b7(0x20c)](path[_0x40b8b7(0x1e2)](_0xa2c849,_0x40b8b7(0x1f9)+_0x1e4119[_0x40b8b7(0x25d)]+_0x40b8b7(0x1fd)))&&(_0x1e8f7f=fs[_0x40b8b7(0x168)](path[_0x40b8b7(0x1e2)](_0xa2c849,'trace_'+_0x1e4119[_0x40b8b7(0x25d)]+_0x40b8b7(0x1fd)),_0x1ec3b8[_0x40b8b7(0x1bb)]),_0x1ec3b8[_0x40b8b7(0x210)](debug,_0x40b8b7(0x23d)+_0x1e4119[_0x40b8b7(0x25d)]+_0x40b8b7(0x1cd)+_0x1e8f7f));}const _0x1c2533={};_0x1c2533[_0x40b8b7(0x1a3)]=_0x123e06,_0x1c2533['test_run']=_0x4c6940;const _0x2e9a02=_0x1c2533;_0x1e8f7f&&_0x1ec3b8['wpRjh'](_0x1e8f7f,'')&&_0x1ec3b8['sVpvO'](_0x123e06,_0x1ec3b8[_0x40b8b7(0x19d)])&&(!_0x2e9a02[_0x40b8b7(0x211)]&&(_0x2e9a02['logs']=[]),_0x1e8f7f[_0x40b8b7(0x1c9)]('\x0a')['forEach'](_0xb453a1=>{const _0x95b0ba=_0x40b8b7;_0xb453a1&&_0x1ec3b8[_0x95b0ba(0x210)](validateFilePath,_0xb453a1)&&_0x2e9a02[_0x95b0ba(0x211)][_0x95b0ba(0x1fe)]({'kind':_0x1ec3b8[_0x95b0ba(0x231)],'timestamp':new Date()[_0x95b0ba(0x1de)](),'test_run_uuid':_0x1e4119[_0x95b0ba(0x25d)],'file_name':path[_0x95b0ba(0x1ec)](_0xb453a1),'file_size':fs['statSync'](_0xb453a1)[_0x95b0ba(0x173)],'attachment_type':_0x1ec3b8[_0x95b0ba(0x1bc)]});})),await SessionHandler['uploadEventData'](_0x2e9a02);}[a41_0x653afb(0x1ed)](_0x2ed6aa){const _0x3c36cf=a41_0x653afb,_0x14c7d3={};_0x14c7d3['QIISU']=function(_0x54772b,_0x4c08a0){return _0x54772b===_0x4c08a0;},_0x14c7d3[_0x3c36cf(0x217)]=function(_0x43f612,_0xe4b485){return _0x43f612>_0xe4b485;},_0x14c7d3[_0x3c36cf(0x19e)]=function(_0x195f89,_0x36e5e4){return _0x195f89+_0x36e5e4;},_0x14c7d3['uFMvh']=function(_0x417db5,_0x2b49d9){return _0x417db5===_0x2b49d9;},_0x14c7d3[_0x3c36cf(0x176)]=function(_0x20c505,_0x5b64){return _0x20c505+_0x5b64;};const _0x11cfbc=_0x14c7d3,_0x201017=_0x2ed6aa[_0x3c36cf(0x1f1)]()[_0x3c36cf(0x179)](_0x23a158=>{const _0x2d38eb=_0x3c36cf;if(_0x2ed6aa[_0x2d38eb(0x1fc)]&&_0x11cfbc[_0x2d38eb(0x228)](_0x23a158,_0x2ed6aa[_0x2d38eb(0x1fc)]['title'])&&_0x2ed6aa[_0x2d38eb(0x1fc)][_0x2d38eb(0x242)]&&_0x11cfbc[_0x2d38eb(0x217)](_0x2ed6aa['parent']['_tags'][_0x2d38eb(0x1ab)],0x0))return _0x11cfbc[_0x2d38eb(0x19e)](_0x11cfbc[_0x2d38eb(0x19e)](_0x23a158,'\x20'),_0x2ed6aa[_0x2d38eb(0x1fc)][_0x2d38eb(0x242)][_0x2d38eb(0x1e2)]('\x20'));if(_0x11cfbc[_0x2d38eb(0x172)](_0x23a158,_0x2ed6aa[_0x2d38eb(0x189)])&&_0x2ed6aa['_tags']&&_0x11cfbc[_0x2d38eb(0x217)](_0x2ed6aa[_0x2d38eb(0x242)][_0x2d38eb(0x1ab)],0x0))return _0x11cfbc[_0x2d38eb(0x176)](_0x11cfbc[_0x2d38eb(0x19e)](_0x23a158,'\x20'),_0x2ed6aa['_tags'][_0x2d38eb(0x1e2)]('\x20'));return _0x23a158;})['join']('\x20');return _0x201017;}static async['sendSessionDetails'](_0x162d55,_0x39201b){const _0x1dbcbe=a41_0x653afb,_0x47ea7a={'ynYmO':function(_0x3dca65,_0x123252){return _0x3dca65(_0x123252);},'FhgWp':_0x1dbcbe(0x1c1)},_0x5acac6={'uuid':TestDetails[_0x1dbcbe(0x23a)](_0x162d55),'integrations':_0x39201b},_0x57f1ae={};_0x57f1ae[_0x1dbcbe(0x1f5)]=null,_0x47ea7a['ynYmO'](debug,_0x1dbcbe(0x1ac)+_0x162d55+',\x20'+util[_0x1dbcbe(0x230)](_0x39201b,_0x57f1ae));const _0x587e60={};_0x587e60[_0x1dbcbe(0x1a3)]=_0x47ea7a[_0x1dbcbe(0x1b0)],_0x587e60[_0x1dbcbe(0x1c5)]=_0x5acac6,await SessionHandler[_0x1dbcbe(0x1a2)](_0x587e60);}async[a41_0x653afb(0x1db)](){const _0x2bb002=a41_0x653afb,_0x21e0c8={'sigRB':function(_0x1493d8){return _0x1493d8();}};if(this[_0x2bb002(0x246)])return;const _0x2a16da=await _0x21e0c8['sigRB'](getGitMetaData);_0x2a16da&&(this[_0x2bb002(0x24d)]=_0x2a16da[_0x2bb002(0x161)]),this[_0x2bb002(0x246)]=!![];}[a41_0x653afb(0x19b)](_0x1755d0){const _0x307e76=a41_0x653afb,_0x360309={};_0x360309[_0x307e76(0x165)]=function(_0x16fd10,_0x4bf871){return _0x16fd10!==_0x4bf871;};const _0x5df4f8=_0x360309,_0x1010b7=[];if(_0x1755d0&&_0x1755d0[_0x307e76(0x1fc)]){let _0x8008d8=_0x1755d0[_0x307e76(0x1fc)];while(_0x8008d8&&_0x5df4f8[_0x307e76(0x165)](_0x8008d8[_0x307e76(0x189)],'')){_0x1010b7['push'](_0x8008d8[_0x307e76(0x189)]),_0x8008d8=_0x8008d8[_0x307e76(0x1fc)];}}return _0x1010b7['reverse']()['splice'](0x0,0x2),_0x1010b7;}[a41_0x653afb(0x1fb)](_0x2b4e3c){const _0x3db581=a41_0x653afb,_0x3b369d={};_0x3b369d['zXQwj']=function(_0x282409,_0x5e2cb9){return _0x282409!==_0x5e2cb9;},_0x3b369d['lfMVA']=_0x3db581(0x21b),_0x3b369d['tAgBL']=function(_0x4ef6ba,_0x54b08c){return _0x4ef6ba===_0x54b08c;},_0x3b369d[_0x3db581(0x25c)]=_0x3db581(0x225),_0x3b369d[_0x3db581(0x1f2)]=_0x3db581(0x1a1),_0x3b369d[_0x3db581(0x22b)]=_0x3db581(0x171),_0x3b369d['hebWY']=_0x3db581(0x1d1);const _0x5df721=_0x3b369d;if(_0x5df721[_0x3db581(0x1df)](_0x2b4e3c[_0x3db581(0x1e6)],_0x5df721[_0x3db581(0x22c)]))return![];if(_0x5df721[_0x3db581(0x1e4)]([_0x5df721[_0x3db581(0x25c)],_0x5df721[_0x3db581(0x1f2)],_0x5df721[_0x3db581(0x22b)],_0x5df721['hebWY']][_0x3db581(0x1d4)](_0x2b4e3c[_0x3db581(0x189)]),-0x1))return![];return!![];}[a41_0x653afb(0x1d3)](_0x134115,_0x1e175b){const _0x3b5a46=a41_0x653afb,_0x39353d=_0x1e175b[_0x3b5a46(0x1b9)];if(_0x39353d)return _0x39353d;return _0x1e175b['title']+_0x3b5a46(0x1d2)+this[_0x3b5a46(0x1f4)](_0x134115);}['setStepIdentifier'](_0x2347de,_0x227176){const _0x338472=a41_0x653afb,_0x59f419={'pVcqS':function(_0x26328){return _0x26328();}};let _0x12c1a6=_0x227176[_0x338472(0x189)]+'\x20for\x20'+this[_0x338472(0x1f4)](_0x2347de);return this['_tests'][_0x12c1a6]&&(_0x12c1a6=_0x12c1a6+'\x20-\x20'+_0x59f419['pVcqS'](uuidv4)),_0x227176[_0x338472(0x1b9)]=_0x12c1a6,_0x12c1a6;}[a41_0x653afb(0x1f4)]=_0x450f66=>{const _0x399788=a41_0x653afb,_0x561168={};_0x561168['VsROD']=function(_0x40749e,_0x25feb6){return _0x40749e+_0x25feb6;},_0x561168['nicLK']=function(_0x18fdd7,_0x1c4d73){return _0x18fdd7+_0x1c4d73;};const _0x3ab961=_0x561168;return _0x3ab961[_0x399788(0x16f)](_0x3ab961[_0x399788(0x190)](_0x450f66[_0x399788(0x1cc)],'-'),_0x450f66['id']);};[a41_0x653afb(0x21d)]=(_0x279558,_0x49efb1)=>{const _0x5964e9=a41_0x653afb,_0x293b67={};_0x293b67[_0x5964e9(0x25a)]=function(_0x316452,_0x57268a){return _0x316452+_0x57268a;};const _0x604dce=_0x293b67;return _0x604dce[_0x5964e9(0x25a)](_0x604dce[_0x5964e9(0x25a)](this['getTestIdentifier'](_0x279558),'-'),_0x49efb1);};['getHookType']=_0x53f5b8=>{const _0x4b5a5c=a41_0x653afb,_0x59235b={};_0x59235b[_0x4b5a5c(0x239)]='beforeEach\x20hook',_0x59235b[_0x4b5a5c(0x248)]=_0x4b5a5c(0x229),_0x59235b['ElRPx']=_0x4b5a5c(0x1a1),_0x59235b[_0x4b5a5c(0x234)]=_0x4b5a5c(0x1d5),_0x59235b[_0x4b5a5c(0x197)]=_0x4b5a5c(0x1d1),_0x59235b['uFGMO']='AFTER_EACH',_0x59235b[_0x4b5a5c(0x162)]=_0x4b5a5c(0x171),_0x59235b[_0x4b5a5c(0x201)]=_0x4b5a5c(0x213),_0x59235b[_0x4b5a5c(0x216)]=_0x4b5a5c(0x24e);const _0x1265d8=_0x59235b;if(_0x53f5b8['startsWith'](_0x1265d8['gXodb']))return _0x1265d8[_0x4b5a5c(0x248)];else{if(_0x53f5b8[_0x4b5a5c(0x178)](_0x1265d8[_0x4b5a5c(0x191)]))return _0x1265d8[_0x4b5a5c(0x234)];else{if(_0x53f5b8['startsWith'](_0x1265d8[_0x4b5a5c(0x197)]))return _0x1265d8['uFGMO'];else{if(_0x53f5b8['startsWith'](_0x1265d8[_0x4b5a5c(0x162)]))return _0x1265d8['QjJgt'];}}}return _0x1265d8['XyUBO'];};['getScope']=_0x3b54b3=>{const _0x687236=a41_0x653afb,_0x45fc32={};_0x45fc32['mVUIL']=function(_0x5b7c1e,_0x47c80a){return _0x5b7c1e===_0x47c80a;},_0x45fc32['Uyzrn']=_0x687236(0x245);const _0xb0d694=_0x45fc32;let _0x47f415=_0x3b54b3[_0x687236(0x1fc)];return _0xb0d694[_0x687236(0x1e1)](typeof _0x3b54b3[_0x687236(0x1fc)],_0xb0d694[_0x687236(0x23e)])&&(_0x47f415=_0x47f415['title']),_0x47f415+_0x687236(0x1ef)+_0x3b54b3['title'];};['printsToStdio'](){return![];}}module[a41_0x653afb(0x1a7)]=o11yClassErrorHandler(MyReporter,[a41_0x653afb(0x164),a41_0x653afb(0x1cf),a41_0x653afb(0x22e),a41_0x653afb(0x1dc),'onStepBegin',a41_0x653afb(0x196),a41_0x653afb(0x209)],a41_0x653afb(0x205));
|
|
1
|
+
const a41_0x1bd18f=a41_0x5186;(function(_0x39d502,_0x9e47bc){const _0x2107f8=a41_0x5186,_0x131ae1=_0x39d502();while(!![]){try{const _0x23969e=-parseInt(_0x2107f8(0x242))/0x1*(parseInt(_0x2107f8(0x278))/0x2)+parseInt(_0x2107f8(0x202))/0x3*(-parseInt(_0x2107f8(0x21f))/0x4)+-parseInt(_0x2107f8(0x290))/0x5*(parseInt(_0x2107f8(0x24a))/0x6)+-parseInt(_0x2107f8(0x20b))/0x7*(parseInt(_0x2107f8(0x258))/0x8)+-parseInt(_0x2107f8(0x28c))/0x9+parseInt(_0x2107f8(0x2c7))/0xa+-parseInt(_0x2107f8(0x27d))/0xb*(-parseInt(_0x2107f8(0x244))/0xc);if(_0x23969e===_0x9e47bc)break;else _0x131ae1['push'](_0x131ae1['shift']());}catch(_0x658e0){_0x131ae1['push'](_0x131ae1['shift']());}}}(a41_0x5188,0x93c6f));const RequestQueueHandler=require(a41_0x1bd18f(0x21b)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x1bd18f(0x2bb)),{v4:uuidv4}=require(a41_0x1bd18f(0x22d)),path=require(a41_0x1bd18f(0x294)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a41_0x1bd18f(0x2dd)),{getGitMetaData,setLogLevel}=require(a41_0x1bd18f(0x29a)),TestDetails=require('./test-details'),fs=require('fs'),util=require(a41_0x1bd18f(0x2af)),{o11yClassErrorHandler}=require(a41_0x1bd18f(0x280)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a41_0x1bd18f(0x295)),SessionHandler=require(a41_0x1bd18f(0x2d8)),{appendTesthubParams}=require(a41_0x1bd18f(0x27c)),TestHubHandler=require(a41_0x1bd18f(0x23e)),helper=require(a41_0x1bd18f(0x29a));class MyReporter{constructor(_0x4a510c){const _0x1d6add=a41_0x1bd18f,_0x1cdff9={'tNjgk':_0x1d6add(0x211),'MSHBm':'performance-report-reporter.json','CaHay':function(_0x33ebf5,_0x406b34,_0x4e5ca0,_0x31e193){return _0x33ebf5(_0x406b34,_0x4e5ca0,_0x31e193);}},_0x569f30=_0x1cdff9[_0x1d6add(0x231)][_0x1d6add(0x1ec)]('|');let _0x371056=0x0;while(!![]){switch(_0x569f30[_0x371056++]){case'0':this[_0x1d6add(0x26a)]={};continue;case'1':process[_0x1d6add(0x296)][_0x1d6add(0x205)]&&(PerformanceTester[_0x1d6add(0x2b4)](_0x1cdff9[_0x1d6add(0x284)]),process['env'][_0x1d6add(0x1ff)]=new Date()[_0x1d6add(0x22f)]());continue;case'2':const _0x3c3a6e={};_0x3c3a6e[_0x1d6add(0x24d)]=process[_0x1d6add(0x296)][_0x1d6add(0x1ef)],_0x1cdff9[_0x1d6add(0x2ad)](setLogLevel,_0x3c3a6e,new Map(),new Map());continue;case'3':this[_0x1d6add(0x276)]=![];continue;case'4':this[_0x1d6add(0x219)]=_0x4a510c;continue;case'5':this[_0x1d6add(0x2c1)]={};continue;case'6':this['_gitConfigPath']=null;continue;}break;}}async[a41_0x1bd18f(0x243)](){const _0x31d6d6=a41_0x1bd18f;TestDetails[_0x31d6d6(0x24c)](),await this['configureGit']();}async[a41_0x1bd18f(0x245)](_0x5a00cf,_0xffdea8){const _0x3845d8=a41_0x1bd18f,_0x3d91d6={'gKplm':function(_0x3e28df,_0x3cf299){return _0x3e28df(_0x3cf299);},'hEjrU':'TestRunStarted'},_0x2cb228=this[_0x3845d8(0x213)](_0x5a00cf),_0x1f3906=TestDetails[_0x3845d8(0x246)](this['getTestRunIdentifier'](_0x5a00cf,_0xffdea8['retry']));process['env'][_0x3845d8(0x1f2)]=_0x1f3906;const _0x4cf260={};_0x4cf260[_0x3845d8(0x22d)]=_0x1f3906,_0x4cf260[_0x3845d8(0x267)]=_0xffdea8[_0x3845d8(0x25c)],this['_tests'][_0x2cb228]=_0x4cf260,_0x3d91d6[_0x3845d8(0x286)](trace,_0x3845d8(0x2f1)+_0x2cb228),await this[_0x3845d8(0x232)](_0x5a00cf,_0x3d91d6[_0x3845d8(0x2b5)],_0xffdea8);}async['onStepBegin'](_0x547c4a,_0x27fcc2,_0xe07e1d){const _0x1e465a=a41_0x1bd18f,_0x3a5693={'EULvb':function(_0x3e7f08,_0x214857){return _0x3e7f08(_0x214857);},'fVVnI':_0x1e465a(0x289)};if(!this[_0x1e465a(0x2db)](_0xe07e1d,_0x547c4a))return;const _0x320a11=this[_0x1e465a(0x2c0)](_0x547c4a,_0xe07e1d);this['_tests'][_0x320a11]={'uuid':TestDetails[_0x1e465a(0x246)](_0x320a11),'startedAt':_0xe07e1d[_0x1e465a(0x25c)][_0x1e465a(0x22f)]()};const _0x1e0ea5=this[_0x1e465a(0x26b)](_0x547c4a,_0x27fcc2[_0x1e465a(0x2d2)]);!this[_0x1e465a(0x2c1)][_0x1e0ea5]&&(this[_0x1e465a(0x2c1)][_0x1e0ea5]=[]),this[_0x1e465a(0x2c1)][_0x1e0ea5][_0x1e465a(0x207)](this[_0x1e465a(0x26a)][_0x320a11][_0x1e465a(0x22d)]),_0x3a5693[_0x1e465a(0x2c4)](trace,_0x1e465a(0x1f5)+_0x320a11+'\x20is\x20triggered\x20for\x20test\x20'+_0x1e0ea5),await this[_0x1e465a(0x2bf)](_0x547c4a,_0xe07e1d,_0x3a5693[_0x1e465a(0x253)],_0x27fcc2);}async[a41_0x1bd18f(0x1fd)](_0x36750a,_0x24f5f8,_0x420355){const _0x2d9bf5=a41_0x1bd18f,_0x1600a5={'mfwbg':function(_0x5c00d6,_0x14056b){return _0x5c00d6+_0x14056b;},'WRUtE':function(_0x3c878e,_0x318006){return _0x3c878e(_0x318006);},'fUFYw':_0x2d9bf5(0x2f0)};if(!this['needToReportStep'](_0x420355,_0x36750a))return;const _0x12cb1a=this[_0x2d9bf5(0x1f0)](_0x36750a,_0x420355);this['_tests'][_0x12cb1a]={...this[_0x2d9bf5(0x26a)][_0x12cb1a]||{},'finishedAt':new Date(_0x1600a5[_0x2d9bf5(0x2e7)](_0x420355[_0x2d9bf5(0x25c)][_0x2d9bf5(0x24b)](),_0x420355[_0x2d9bf5(0x2ca)]))},_0x1600a5[_0x2d9bf5(0x2d6)](trace,_0x2d9bf5(0x238)+_0x12cb1a+_0x2d9bf5(0x277)),await this[_0x2d9bf5(0x2bf)](_0x36750a,_0x420355,_0x1600a5[_0x2d9bf5(0x264)],_0x24f5f8);}async[a41_0x1bd18f(0x275)](_0x23b5b4,_0xf3d605){const _0x1c2ffd=a41_0x1bd18f,_0x514127={'grdjS':function(_0x33f7db,_0xf9dbc5){return _0x33f7db===_0xf9dbc5;},'eTmUD':'screenshot','Ibbkn':'TEST_SCREENSHOT','rEjeA':_0x1c2ffd(0x216),'qxHvB':function(_0x1991c8,_0x46e74a){return _0x1991c8(_0x46e74a);},'GfiXe':_0x1c2ffd(0x288),'GpTsI':function(_0x2c327f,_0x1d569c){return _0x2c327f(_0x1d569c);},'Ktnsd':_0x1c2ffd(0x23a),'ooyRp':function(_0x88e38c,_0x5e8ca7){return _0x88e38c(_0x5e8ca7);},'RcOtR':function(_0x26f281,_0x2b00a9,_0x45e505){return _0x26f281(_0x2b00a9,_0x45e505);},'PGlmD':function(_0x266c9d,_0x4a1afa){return _0x266c9d(_0x4a1afa);},'EMhEA':_0x1c2ffd(0x2da),'YXdTG':function(_0x44b04b,_0x21a30d){return _0x44b04b>_0x21a30d;}},_0x27f5c8=this[_0x1c2ffd(0x213)](_0x23b5b4),_0x503305=TestDetails[_0x1c2ffd(0x246)](this[_0x1c2ffd(0x26b)](_0x23b5b4,_0xf3d605[_0x1c2ffd(0x2d2)]));this[_0x1c2ffd(0x26a)][_0x27f5c8]={...this[_0x1c2ffd(0x26a)][_0x27f5c8]||{},'finishedAt':new Date()[_0x1c2ffd(0x22f)]()},_0x514127[_0x1c2ffd(0x2a1)](trace,_0x1c2ffd(0x2ea)+_0x27f5c8);try{await this[_0x1c2ffd(0x232)](_0x23b5b4,_0x514127[_0x1c2ffd(0x2f2)],_0xf3d605);}catch(_0x551a01){_0x514127[_0x1c2ffd(0x28d)](debug,util[_0x1c2ffd(0x25f)](_0x514127['Ktnsd'],_0x551a01[_0x1c2ffd(0x229)]()));}try{_0x514127['ooyRp'](debug,_0x1c2ffd(0x27a)+_0x503305),await _0x514127['RcOtR'](sendTraceZip,_0xf3d605,_0x503305);}catch(_0x5502bd){_0x514127[_0x1c2ffd(0x251)](debug,util[_0x1c2ffd(0x25f)](_0x514127[_0x1c2ffd(0x271)],_0x5502bd[_0x1c2ffd(0x229)]()));}const _0x8fad1b=[];_0xf3d605[_0x1c2ffd(0x2a3)]&&_0xf3d605['attachments']['map'](_0x4451d2=>{const _0x3735b0=_0x1c2ffd;if(_0x514127[_0x3735b0(0x266)](_0x4451d2[_0x3735b0(0x2e0)],_0x514127[_0x3735b0(0x2b3)])){if(!_0x4451d2[_0x3735b0(0x294)]||!fs[_0x3735b0(0x249)](_0x4451d2[_0x3735b0(0x294)]))return;_0x8fad1b[_0x3735b0(0x207)]({'test_run_uuid':_0x503305,'timestamp':fs[_0x3735b0(0x2c6)](_0x4451d2[_0x3735b0(0x294)])[_0x3735b0(0x2d9)],'kind':_0x514127[_0x3735b0(0x234)],'message':fs[_0x3735b0(0x260)](_0x4451d2[_0x3735b0(0x294)],{'encoding':_0x514127[_0x3735b0(0x2be)]})});}}),_0x514127[_0x1c2ffd(0x21a)](_0x8fad1b[_0x1c2ffd(0x297)],0x0)&&await MyReporter[_0x1c2ffd(0x224)](_0x8fad1b);}async['endSession'](){const _0x2f6608=a41_0x1bd18f;await RequestQueueHandler[_0x2f6608(0x2de)]()[_0x2f6608(0x204)]();}async[a41_0x1bd18f(0x210)](_0x521b45){const _0x5d0fd9=a41_0x1bd18f,_0x113552={'kVymz':function(_0xe3f275){return _0xe3f275();},'TbdaF':function(_0x3ceb41,_0x4a0443){return _0x3ceb41(_0x4a0443);}};await this[_0x5d0fd9(0x2c3)]();try{process[_0x5d0fd9(0x296)][_0x5d0fd9(0x205)]&&await _0x113552[_0x5d0fd9(0x248)](calculatePerformance);}catch(_0x1b6862){_0x113552[_0x5d0fd9(0x298)](debug,_0x5d0fd9(0x1eb)+_0x1b6862['toString']());}}static async['addTestUIDAndReportLog'](_0x4b7e30,_0xc070e8){const _0x2fc241=a41_0x1bd18f;_0xc070e8[_0x2fc241(0x29f)]=TestDetails['getTestUUID'](_0x4b7e30),await this[_0x2fc241(0x224)]([_0xc070e8]);}static async[a41_0x1bd18f(0x224)](_0x2461a6){const _0x51cad1=a41_0x1bd18f,_0x2c83ba={};_0x2c83ba['CbYPj']=_0x51cad1(0x257);const _0x180674=_0x2c83ba,_0x27e013={};_0x27e013[_0x51cad1(0x20e)]=_0x180674[_0x51cad1(0x1f6)],_0x27e013[_0x51cad1(0x217)]=_0x2461a6,await SessionHandler[_0x51cad1(0x221)](_0x27e013);}async[a41_0x1bd18f(0x2bf)](_0x2ef9b0,_0x1e9b91,_0x131e29,_0x40a592){const _0x1057f1=a41_0x1bd18f,_0xceb4a9={'CFoIH':_0x1057f1(0x270),'sKNoa':_0x1057f1(0x2e5),'itjRU':'pending','eCrSp':function(_0x577127,_0x3289bf){return _0x577127>=_0x3289bf;},'KUflJ':function(_0x270bd5,_0x3f916b){return _0x270bd5===_0x3f916b;},'gPdop':_0x1057f1(0x2f0),'bVJai':function(_0x209ec4,_0x317772){return _0x209ec4>_0x317772;},'UmQpB':'failed','Ltcjs':function(_0x1348ee,_0x2a9ba1){return _0x1348ee(_0x2a9ba1);},'XSxtL':function(_0x3d315e,_0xc5733,_0x5582d3){return _0x3d315e(_0xc5733,_0x5582d3);},'VdZWg':'err','YakuI':function(_0x5e4288,_0x4caa08){return _0x5e4288===_0x4caa08;},'fGqMz':_0x1057f1(0x226)},_0x16090d=this[_0x1057f1(0x1f0)](_0x2ef9b0,_0x1e9b91),_0x23822f=this[_0x1057f1(0x26a)][_0x16090d],_0x3f6211={'uuid':_0x23822f['uuid'],'type':_0xceb4a9[_0x1057f1(0x261)],'hook_type':this['getHookType'](_0x1e9b91[_0x1057f1(0x208)]),'name':_0x1e9b91['title'],'scope':this['getScope'](_0x1e9b91),'scopes':this[_0x1057f1(0x2b0)](_0x2ef9b0),'body':{'lang':_0xceb4a9[_0x1057f1(0x247)],'code':null},'identifier':_0x16090d,'file_name':path['relative'](process[_0x1057f1(0x236)](),_0x2ef9b0[_0x1057f1(0x256)]['file']),'location':path[_0x1057f1(0x2a0)](process[_0x1057f1(0x236)](),_0x2ef9b0['location'][_0x1057f1(0x22e)]),'result':_0xceb4a9[_0x1057f1(0x225)],'duration_in_ms':_0xceb4a9[_0x1057f1(0x25a)](_0x1e9b91[_0x1057f1(0x2ca)],0x0)?_0x1e9b91[_0x1057f1(0x2ca)]:undefined,'vc_filepath':this[_0x1057f1(0x1fc)]&&_0x2ef9b0['location'][_0x1057f1(0x22e)]?path[_0x1057f1(0x2a0)](this[_0x1057f1(0x1fc)],_0x2ef9b0['location'][_0x1057f1(0x22e)]):undefined,'started_at':_0x23822f['startedAt'],'finished_at':_0x23822f[_0x1057f1(0x268)],'framework':FRAMEWORKS[_0x1057f1(0x20a)]};if(_0xceb4a9['KUflJ'](_0x131e29,_0xceb4a9['gPdop'])){const {steps:_0x1ea08b,logs:_0x4cfdd2}=this[_0x1057f1(0x250)](_0x1e9b91[_0x1057f1(0x272)],_0x23822f[_0x1057f1(0x22d)],_0xceb4a9['CFoIH']);_0x4cfdd2&&_0xceb4a9[_0x1057f1(0x24f)](_0x4cfdd2[_0x1057f1(0x297)],0x0)&&await MyReporter[_0x1057f1(0x224)](_0x4cfdd2);const _0x942de1={};_0x942de1['steps']=_0x1ea08b,_0x3f6211[_0x1057f1(0x212)]=_0x942de1;if(_0x1e9b91[_0x1057f1(0x291)]){_0x3f6211[_0x1057f1(0x2a2)]=_0xceb4a9[_0x1057f1(0x2ee)],_0x3f6211[_0x1057f1(0x2cd)]=_0xceb4a9['Ltcjs'](removeAnsiColors,_0x1e9b91[_0x1057f1(0x291)][_0x1057f1(0x299)]),_0x3f6211['failure_type']=_0xceb4a9['Ltcjs'](getFailureType,_0x1e9b91['error']['message']);const _0x3a87b2=_0xceb4a9[_0x1057f1(0x23f)](failureData,_0x1e9b91[_0x1057f1(0x291)],_0xceb4a9[_0x1057f1(0x2b8)]);if(_0x3a87b2&&_0xceb4a9['YakuI'](_0x3a87b2['length'],0x0)){const _0x36212a={};_0x36212a[_0x1057f1(0x255)]=[_0x3f6211[_0x1057f1(0x2cd)]],_0x36212a[_0x1057f1(0x24e)]=[],_0x3a87b2[_0x1057f1(0x207)](_0x36212a);}_0x3f6211[_0x1057f1(0x287)]=_0x3a87b2;}else _0x3f6211['result']=_0xceb4a9[_0x1057f1(0x235)];}const _0x4aab7b={};_0x4aab7b[_0x1057f1(0x20e)]=_0x131e29,_0x4aab7b[_0x1057f1(0x2c2)]=_0x3f6211;const _0x2ac3bc=_0x4aab7b;await SessionHandler[_0x1057f1(0x221)](_0x2ac3bc);}['getStepsAndLogs'](_0x4ffa48,_0x156a0a,_0xa968f4){const _0x115d5d=a41_0x1bd18f,_0x2235e0={'Kydef':function(_0x230d47,_0x102ab1){return _0x230d47===_0x102ab1;},'RuBkP':'hook','tYbqb':function(_0x1b5435,_0xcf0c28){return _0x1b5435===_0xcf0c28;},'haxew':'After\x20Hooks','vjNON':function(_0x4baf6e,_0x217a15){return _0x4baf6e===_0x217a15;},'qHBsU':_0x115d5d(0x2bd),'OEXPA':function(_0x579def,_0x854741){return _0x579def===_0x854741;},'tTgmm':function(_0x3f9ae6,_0xaf114b){return _0x3f9ae6===_0xaf114b;},'vdRSZ':_0x115d5d(0x2ed),'hWzfw':'test_run_uuid','TRGEd':_0x115d5d(0x2e8),'CoLfn':'TEST_STEP','FLjBX':_0x115d5d(0x2d0),'unzcX':_0x115d5d(0x226),'vVCfJ':function(_0x574738,_0x41c656){return _0x574738(_0x41c656);},'WcFyE':function(_0x46f10a){return _0x46f10a();},'yreXW':function(_0x23307a,_0x3bf85b,_0x5b6d2b){return _0x23307a(_0x3bf85b,_0x5b6d2b);}},_0x3638c4=[],_0x4bdc57=[],_0x18416c=_0x4ffa48[_0x115d5d(0x2b1)](_0x55998c=>{const _0x306da1=_0x115d5d;if(_0x2235e0[_0x306da1(0x2a6)](_0x55998c[_0x306da1(0x25b)],_0x2235e0[_0x306da1(0x1f7)])&&(_0x2235e0[_0x306da1(0x2e6)](_0x55998c[_0x306da1(0x208)],_0x2235e0[_0x306da1(0x227)])||_0x2235e0[_0x306da1(0x239)](_0x55998c[_0x306da1(0x208)],_0x2235e0[_0x306da1(0x237)])))return![];return!![];}),_0x23911f=(_0x4ebb83,_0x258dfe=![])=>{const _0xf27833=_0x115d5d;if(_0x2235e0[_0xf27833(0x2eb)](_0x4ebb83['steps'][_0xf27833(0x297)],0x0)){const _0x5e8683=_0x2235e0[_0xf27833(0x252)](_0xa968f4,_0x2235e0[_0xf27833(0x1f4)])?_0x2235e0['hWzfw']:_0x2235e0[_0xf27833(0x23b)];_0x4bdc57[_0xf27833(0x207)]({'kind':_0x2235e0[_0xf27833(0x21e)],[_0x5e8683]:_0x156a0a,'message':_0x4ebb83[_0xf27833(0x208)],'timestamp':_0x4ebb83['startTime']['toISOString'](),'level':_0x4ebb83[_0xf27833(0x291)]?_0x2235e0['FLjBX']:_0x2235e0[_0xf27833(0x2aa)],'duration':_0x4ebb83[_0xf27833(0x2ca)],'failure':_0x4ebb83['error']&&_0x4ebb83[_0xf27833(0x291)]['message']&&_0x2235e0['vVCfJ'](removeAnsiColors,_0x4ebb83[_0xf27833(0x291)][_0xf27833(0x299)]),'failure_type':_0x2235e0[_0xf27833(0x2d5)](getFailureType,_0x4ebb83[_0xf27833(0x291)]&&_0x4ebb83[_0xf27833(0x291)]['message'])});}else{!_0x258dfe&&_0x3638c4['push']({'id':_0x2235e0[_0xf27833(0x2ba)](uuidv4),'text':_0x4ebb83[_0xf27833(0x208)],'keyword':undefined,'started_at':_0x4ebb83[_0xf27833(0x25c)][_0xf27833(0x22f)](),'duration':_0x4ebb83[_0xf27833(0x2ca)],'result':_0x4ebb83[_0xf27833(0x291)]?_0x2235e0[_0xf27833(0x1ee)]:_0x2235e0[_0xf27833(0x2aa)],'failure':_0x4ebb83['error']&&_0x4ebb83['error'][_0xf27833(0x299)]&&_0x2235e0[_0xf27833(0x2d5)](removeAnsiColors,_0x4ebb83[_0xf27833(0x291)][_0xf27833(0x299)]),'failure_type':_0x2235e0[_0xf27833(0x2d5)](getFailureType,_0x4ebb83[_0xf27833(0x291)]&&_0x4ebb83[_0xf27833(0x291)][_0xf27833(0x299)])});for(const _0xd0dba2 of _0x4ebb83[_0xf27833(0x272)]){_0x2235e0[_0xf27833(0x2b9)](_0x23911f,_0xd0dba2,!![]);}}};for(const _0xd1a9de of _0x18416c){_0x2235e0[_0x115d5d(0x2b9)](_0x23911f,_0xd1a9de,![]);}const _0xca327={};return _0xca327[_0x115d5d(0x272)]=_0x3638c4,_0xca327['logs']=_0x4bdc57,_0xca327;}async[a41_0x1bd18f(0x232)](_0x4e3e14,_0xe8ca10,_0xe4f8c4){const _0x4ef5c0=a41_0x1bd18f,_0x3afd73={'dDZTT':function(_0x270c78,_0x4ba144){return _0x270c78(_0x4ba144);},'mTlVV':'TEST_ATTACHMENT','ktwdy':_0x4ef5c0(0x228),'UlFjB':_0x4ef5c0(0x2ed),'okBUv':_0x4ef5c0(0x2e5),'oKSan':'pending','WxGHO':function(_0x35257a,_0x133e56){return _0x35257a(_0x133e56);},'oybfd':function(_0x19daab,_0x1225b4,_0x3279d9,_0x3b0503,_0x3c2476){return _0x19daab(_0x1225b4,_0x3279d9,_0x3b0503,_0x3c2476);},'Upweg':function(_0x52c0fa,_0x5db66a){return _0x52c0fa>_0x5db66a;},'kAhLA':function(_0x4830cb,_0x53c80e){return _0x4830cb-_0x53c80e;},'USomX':function(_0x1b41ae,_0x4ff6d8){return _0x1b41ae===_0x4ff6d8;},'zMFSk':_0x4ef5c0(0x288),'mhDmt':function(_0x5cd960,_0x3d6eb3){return _0x5cd960===_0x3d6eb3;},'YUGrR':'skipped','THWBm':_0x4ef5c0(0x226),'FuFjo':function(_0x16c370,_0x271e9f){return _0x16c370===_0x271e9f;},'EvvVK':_0x4ef5c0(0x2d0),'HErhC':_0x4ef5c0(0x20f),'QCXAv':function(_0x1a9d30,_0x21d918){return _0x1a9d30===_0x21d918;},'sllCj':'Expected\x20to\x20fail,\x20but\x20passed.','XCVsz':function(_0x23301d,_0x1b15c4){return _0x23301d(_0x1b15c4);},'nQczi':function(_0x3590f7,_0x1d88e3){return _0x3590f7(_0x1d88e3);},'Okhev':function(_0x379050,_0x4290ef,_0x4c46b0){return _0x379050(_0x4290ef,_0x4c46b0);},'TEVjI':function(_0x442333,_0x3d323a){return _0x442333===_0x3d323a;},'rqaCZ':function(_0x49881d,_0xfab5d3,_0x5ae3a1){return _0x49881d(_0xfab5d3,_0x5ae3a1);},'ilvdn':_0x4ef5c0(0x294),'cUPST':'.browserstack','iakJZ':_0x4ef5c0(0x22a),'YcaBc':function(_0x216668,_0x26f7ad){return _0x216668(_0x26f7ad);},'FmNZy':function(_0x3d95a1,_0x2327d2){return _0x3d95a1!==_0x2327d2;}},_0x26e713=this[_0x4ef5c0(0x213)](_0x4e3e14),_0x1b99a3=this[_0x4ef5c0(0x214)](_0x4e3e14),_0x3fc124=this[_0x4ef5c0(0x26a)][_0x26e713],_0xfd129=path['relative'](process[_0x4ef5c0(0x236)](),_0x4e3e14[_0x4ef5c0(0x256)][_0x4ef5c0(0x22e)]);await this[_0x4ef5c0(0x263)]();const _0x1fa886={'uuid':_0x3fc124[_0x4ef5c0(0x22d)],'type':_0x3afd73[_0x4ef5c0(0x29c)],'name':_0x4e3e14[_0x4ef5c0(0x208)],'body':{'lang':_0x3afd73[_0x4ef5c0(0x220)],'code':_0x4e3e14['fn'][_0x4ef5c0(0x229)]()},'scope':_0x1b99a3,'scopes':this[_0x4ef5c0(0x2b0)](_0x4e3e14),'identifier':_0x26e713,'file_name':_0xfd129,'location':_0xfd129,'result':_0x3afd73[_0x4ef5c0(0x2b2)],'duration_in_ms':_0xe4f8c4&&_0xe4f8c4[_0x4ef5c0(0x2ca)]?_0xe4f8c4[_0x4ef5c0(0x2ca)]:null,'vc_filepath':this['_gitConfigPath']&&_0x4e3e14[_0x4ef5c0(0x256)]['file']?path['relative'](this[_0x4ef5c0(0x1fc)],_0x4e3e14['location'][_0x4ef5c0(0x22e)]):undefined,'started_at':_0x3fc124['startedAt'],'finished_at':_0x3fc124[_0x4ef5c0(0x268)],'framework':FRAMEWORKS[_0x4ef5c0(0x20a)],'customRerunParam':{'rerun_name':this[_0x4ef5c0(0x274)](_0x4e3e14)},'tags':_0x3afd73['WxGHO'](getTestTags,_0x4e3e14)};_0x3afd73[_0x4ef5c0(0x2e4)](appendTesthubParams,_0x1fa886,_0xe8ca10,_0x4e3e14,FRAMEWORKS[_0x4ef5c0(0x20a)]);_0xe4f8c4&&_0x3afd73[_0x4ef5c0(0x2a5)](_0xe4f8c4['retry'],0x0)&&(_0x1fa886['retry_of']=TestDetails[_0x4ef5c0(0x246)](this['getTestRunIdentifier'](_0x4e3e14,_0x3afd73[_0x4ef5c0(0x2a4)](_0xe4f8c4[_0x4ef5c0(0x2d2)],0x1))));if(_0x3afd73['USomX'](_0xe8ca10,_0x3afd73[_0x4ef5c0(0x209)])){_0x1fa886[_0x4ef5c0(0x2a2)]=_0xe4f8c4[_0x4ef5c0(0x273)];if(_0x3afd73[_0x4ef5c0(0x29b)](_0xe4f8c4[_0x4ef5c0(0x273)],_0x4e3e14[_0x4ef5c0(0x281)]))_0x1fa886[_0x4ef5c0(0x2a2)]=_0x3afd73[_0x4ef5c0(0x2a8)](_0xe4f8c4['status'],_0x3afd73[_0x4ef5c0(0x1ed)])?_0x3afd73['YUGrR']:_0x3afd73['THWBm'];else{(_0x3afd73['FuFjo'](_0x1fa886['result'],_0x3afd73[_0x4ef5c0(0x2ac)])||_0x3afd73[_0x4ef5c0(0x2e9)](_0x1fa886[_0x4ef5c0(0x2a2)],_0x3afd73[_0x4ef5c0(0x241)])||_0x3afd73[_0x4ef5c0(0x2a8)](_0x1fa886['result'],_0x3afd73['HErhC']))&&(_0x1fa886[_0x4ef5c0(0x2a2)]=_0x3afd73[_0x4ef5c0(0x241)]);if(_0x3afd73[_0x4ef5c0(0x1f1)](_0xe4f8c4['status'],_0x3afd73['THWBm'])&&_0x3afd73[_0x4ef5c0(0x2a8)](_0x4e3e14[_0x4ef5c0(0x281)],_0x3afd73[_0x4ef5c0(0x241)])){const _0x5501a1={};_0x5501a1[_0x4ef5c0(0x299)]=_0x3afd73[_0x4ef5c0(0x25d)],_0x5501a1[_0x4ef5c0(0x2a9)]=_0x3afd73[_0x4ef5c0(0x25d)],_0xe4f8c4[_0x4ef5c0(0x291)]=_0x5501a1,_0xe4f8c4[_0x4ef5c0(0x22b)]=[_0xe4f8c4[_0x4ef5c0(0x291)]];}}const _0x1f138c=this['getTestRunIdentifier'](_0x4e3e14,_0xe4f8c4[_0x4ef5c0(0x2d2)]);_0x1fa886[_0x4ef5c0(0x200)]=this[_0x4ef5c0(0x2c1)][_0x1f138c];const {steps:_0x25c5d8,logs:_0x4e3579}=this['getStepsAndLogs'](_0xe4f8c4[_0x4ef5c0(0x272)],_0x3fc124[_0x4ef5c0(0x22d)],_0x3afd73[_0x4ef5c0(0x29c)]);await MyReporter[_0x4ef5c0(0x224)](_0x4e3579);const _0x28f381={};_0x28f381[_0x4ef5c0(0x272)]=_0x25c5d8,_0x1fa886[_0x4ef5c0(0x212)]=_0x28f381;if(_0xe4f8c4[_0x4ef5c0(0x291)]){_0x1fa886[_0x4ef5c0(0x2cd)]=_0x3afd73[_0x4ef5c0(0x218)](removeAnsiColors,_0xe4f8c4['error'][_0x4ef5c0(0x299)]),_0x1fa886[_0x4ef5c0(0x2ce)]=_0x3afd73[_0x4ef5c0(0x1f9)](getFailureType,_0xe4f8c4[_0x4ef5c0(0x291)]['message']);const _0x255c9c={};_0x255c9c[_0x4ef5c0(0x29f)]=_0x3fc124['uuid'];const {failureData:_0x3fa053,logs:_0x3424b9}=_0x3afd73['Okhev'](getFailureData,_0xe4f8c4[_0x4ef5c0(0x22b)],_0x255c9c);if(_0x3fa053&&_0x3afd73['TEVjI'](_0x3fa053[_0x4ef5c0(0x297)],0x0)){const _0x3c6675={};_0x3c6675[_0x4ef5c0(0x255)]=[_0x1fa886[_0x4ef5c0(0x2cd)]],_0x3c6675[_0x4ef5c0(0x24e)]=[],_0x3fa053['push'](_0x3c6675);}_0x1fa886[_0x4ef5c0(0x287)]=_0x3fa053,_0x3424b9&&_0x3afd73[_0x4ef5c0(0x2a5)](_0x3424b9[_0x4ef5c0(0x297)],0x0)&&await MyReporter[_0x4ef5c0(0x224)](_0x3424b9);}}let _0x17bcbb=_0x3afd73[_0x4ef5c0(0x2ef)](findNestedKey,_0xe4f8c4,_0x3afd73[_0x4ef5c0(0x282)]);if(_0x17bcbb&&_0x3afd73[_0x4ef5c0(0x1f9)](validateFilePath,_0x17bcbb))_0x3afd73[_0x4ef5c0(0x20d)](debug,_0x4ef5c0(0x279)+_0x3fc124[_0x4ef5c0(0x22d)]+_0x4ef5c0(0x269)+_0x17bcbb);else{const _0x59359c=path['join'](helper['homedir'](),_0x3afd73[_0x4ef5c0(0x240)]);!fs['existsSync'](_0x59359c)&&fs[_0x4ef5c0(0x215)](_0x59359c),fs[_0x4ef5c0(0x249)](path[_0x4ef5c0(0x2c8)](_0x59359c,_0x4ef5c0(0x262)+_0x3fc124[_0x4ef5c0(0x22d)]+_0x4ef5c0(0x292)))&&(_0x17bcbb=fs[_0x4ef5c0(0x260)](path[_0x4ef5c0(0x2c8)](_0x59359c,_0x4ef5c0(0x262)+_0x3fc124[_0x4ef5c0(0x22d)]+_0x4ef5c0(0x292)),_0x3afd73[_0x4ef5c0(0x2ec)]),_0x3afd73['YcaBc'](debug,_0x4ef5c0(0x279)+_0x3fc124[_0x4ef5c0(0x22d)]+_0x4ef5c0(0x269)+_0x17bcbb));}const _0x148434={};_0x148434[_0x4ef5c0(0x20e)]=_0xe8ca10,_0x148434[_0x4ef5c0(0x2d4)]=_0x1fa886;const _0x1f9217=_0x148434;_0x17bcbb&&_0x3afd73['FmNZy'](_0x17bcbb,'')&&_0x3afd73[_0x4ef5c0(0x2a8)](_0xe8ca10,_0x3afd73[_0x4ef5c0(0x209)])&&(!_0x1f9217[_0x4ef5c0(0x217)]&&(_0x1f9217[_0x4ef5c0(0x217)]=[]),_0x17bcbb['split']('\x0a')[_0x4ef5c0(0x27b)](_0x1525bf=>{const _0x8fa03c=_0x4ef5c0;_0x1525bf&&_0x3afd73[_0x8fa03c(0x20d)](validateFilePath,_0x1525bf)&&_0x1f9217[_0x8fa03c(0x217)][_0x8fa03c(0x207)]({'kind':_0x3afd73['mTlVV'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x3fc124[_0x8fa03c(0x22d)],'file_name':path[_0x8fa03c(0x2e2)](_0x1525bf),'file_size':fs[_0x8fa03c(0x2c6)](_0x1525bf)['size'],'attachment_type':_0x3afd73[_0x8fa03c(0x259)]});})),await SessionHandler[_0x4ef5c0(0x221)](_0x1f9217);}[a41_0x1bd18f(0x274)](_0x1131ac){const _0x443efc=a41_0x1bd18f,_0x33fd4c={};_0x33fd4c[_0x443efc(0x1ea)]=function(_0x3a0342,_0x396a94){return _0x3a0342===_0x396a94;},_0x33fd4c[_0x443efc(0x2e1)]=function(_0x2e0692,_0x31d4ec){return _0x2e0692>_0x31d4ec;},_0x33fd4c[_0x443efc(0x26d)]=function(_0x310dfe,_0xf2bcc5){return _0x310dfe+_0xf2bcc5;},_0x33fd4c[_0x443efc(0x265)]=function(_0x52a2b8,_0x39c79a){return _0x52a2b8===_0x39c79a;},_0x33fd4c[_0x443efc(0x203)]=function(_0x1df34d,_0x11e957){return _0x1df34d+_0x11e957;};const _0x52f2f3=_0x33fd4c,_0x1c41e1=_0x1131ac[_0x443efc(0x28a)]()[_0x443efc(0x2dc)](_0x416e6b=>{const _0x34eb8f=_0x443efc;if(_0x1131ac['parent']&&_0x52f2f3['biBdm'](_0x416e6b,_0x1131ac[_0x34eb8f(0x2ab)][_0x34eb8f(0x208)])&&_0x1131ac[_0x34eb8f(0x2ab)]['_tags']&&_0x52f2f3[_0x34eb8f(0x2e1)](_0x1131ac[_0x34eb8f(0x2ab)][_0x34eb8f(0x21d)][_0x34eb8f(0x297)],0x0))return _0x52f2f3[_0x34eb8f(0x26d)](_0x52f2f3[_0x34eb8f(0x26d)](_0x416e6b,'\x20'),_0x1131ac['parent'][_0x34eb8f(0x21d)]['join']('\x20'));if(_0x52f2f3['qXsQX'](_0x416e6b,_0x1131ac['title'])&&_0x1131ac[_0x34eb8f(0x21d)]&&_0x52f2f3['QxugF'](_0x1131ac['_tags'][_0x34eb8f(0x297)],0x0))return _0x52f2f3[_0x34eb8f(0x26d)](_0x52f2f3[_0x34eb8f(0x203)](_0x416e6b,'\x20'),_0x1131ac[_0x34eb8f(0x21d)]['join']('\x20'));return _0x416e6b;})[_0x443efc(0x2c8)]('\x20');return _0x1c41e1;}static async['sendSessionDetails'](_0xed2066,_0x3e60e2){const _0x6390b2=a41_0x1bd18f,_0x2c6943={'EHNXP':function(_0x182c26,_0x24b92d){return _0x182c26(_0x24b92d);},'vlVTk':'CBTSessionCreated'},_0x40c1ff={'uuid':TestDetails[_0x6390b2(0x246)](_0xed2066),'integrations':_0x3e60e2},_0x1cefbf={};_0x1cefbf['depth']=null,_0x2c6943['EHNXP'](debug,_0x6390b2(0x2e3)+_0xed2066+',\x20'+util[_0x6390b2(0x222)](_0x3e60e2,_0x1cefbf));const _0x52a7b3={};_0x52a7b3[_0x6390b2(0x20e)]=_0x2c6943[_0x6390b2(0x29e)],_0x52a7b3[_0x6390b2(0x2d4)]=_0x40c1ff,await SessionHandler['uploadEventData'](_0x52a7b3);}async[a41_0x1bd18f(0x263)](){const _0x11d155=a41_0x1bd18f,_0x2cef17={'OxRLW':function(_0x59c0a0){return _0x59c0a0();}};if(this[_0x11d155(0x276)])return;const _0x4befcb=await _0x2cef17[_0x11d155(0x206)](getGitMetaData);_0x4befcb&&(this[_0x11d155(0x1fc)]=_0x4befcb[_0x11d155(0x23c)]),this[_0x11d155(0x276)]=!![];}[a41_0x1bd18f(0x2b0)](_0x5ef48c){const _0x52c2e9=a41_0x1bd18f,_0x425a2c={};_0x425a2c['Bzgym']=function(_0x3e5066,_0x51e40e){return _0x3e5066!==_0x51e40e;};const _0x33125f=_0x425a2c,_0x17a12d=[];if(_0x5ef48c&&_0x5ef48c['parent']){let _0x49c955=_0x5ef48c[_0x52c2e9(0x2ab)];while(_0x49c955&&_0x33125f[_0x52c2e9(0x2cf)](_0x49c955['title'],'')){_0x17a12d[_0x52c2e9(0x207)](_0x49c955[_0x52c2e9(0x208)]),_0x49c955=_0x49c955['parent'];}}return _0x17a12d[_0x52c2e9(0x2d7)]()[_0x52c2e9(0x254)](0x0,0x2),_0x17a12d;}['needToReportStep'](_0x4db65b){const _0xecabfe=a41_0x1bd18f,_0xa8f67d={};_0xa8f67d[_0xecabfe(0x223)]=function(_0x797ef0,_0xcc266f){return _0x797ef0!==_0xcc266f;},_0xa8f67d[_0xecabfe(0x2d1)]=_0xecabfe(0x270),_0xa8f67d[_0xecabfe(0x27e)]=function(_0x1b96ac,_0x3a7ac1){return _0x1b96ac===_0x3a7ac1;},_0xa8f67d[_0xecabfe(0x293)]='beforeEach\x20hook',_0xa8f67d[_0xecabfe(0x2bc)]=_0xecabfe(0x2b6),_0xa8f67d['KllHx']=_0xecabfe(0x26e),_0xa8f67d[_0xecabfe(0x283)]=_0xecabfe(0x1fa);const _0x4ba71f=_0xa8f67d;if(_0x4ba71f[_0xecabfe(0x223)](_0x4db65b[_0xecabfe(0x25b)],_0x4ba71f[_0xecabfe(0x2d1)]))return![];if(_0x4ba71f[_0xecabfe(0x27e)]([_0x4ba71f[_0xecabfe(0x293)],_0x4ba71f[_0xecabfe(0x2bc)],_0x4ba71f['KllHx'],_0x4ba71f['xgpEk']][_0xecabfe(0x2cb)](_0x4db65b['title']),-0x1))return![];return!![];}[a41_0x1bd18f(0x1f0)](_0x48d0e6,_0x544f8c){const _0x5abe45=a41_0x1bd18f,_0x4cf105=_0x544f8c[_0x5abe45(0x26f)];if(_0x4cf105)return _0x4cf105;return _0x544f8c[_0x5abe45(0x208)]+_0x5abe45(0x1f3)+this[_0x5abe45(0x213)](_0x48d0e6);}['setStepIdentifier'](_0x53fb8a,_0x419946){const _0x26a431=a41_0x1bd18f,_0x1b3584={'ZiaTJ':function(_0x5b26ab){return _0x5b26ab();}};let _0x5a0b02=_0x419946[_0x26a431(0x208)]+_0x26a431(0x1f3)+this['getTestIdentifier'](_0x53fb8a);return this[_0x26a431(0x26a)][_0x5a0b02]&&(_0x5a0b02=_0x5a0b02+'\x20-\x20'+_0x1b3584[_0x26a431(0x2c9)](uuidv4)),_0x419946[_0x26a431(0x26f)]=_0x5a0b02,_0x5a0b02;}[a41_0x1bd18f(0x213)]=_0x33a3bf=>{const _0x10b5f9=a41_0x1bd18f,_0x3eeede={};_0x3eeede['FOHIX']=function(_0x1bf9a3,_0x5e82a1){return _0x1bf9a3+_0x5e82a1;},_0x3eeede[_0x10b5f9(0x230)]=function(_0x583b35,_0x32dd4b){return _0x583b35+_0x32dd4b;};const _0x199fa0=_0x3eeede;return _0x199fa0[_0x10b5f9(0x1fe)](_0x199fa0['Ujvxq'](_0x33a3bf[_0x10b5f9(0x27f)],'-'),_0x33a3bf['id']);};[a41_0x1bd18f(0x26b)]=(_0x7c9964,_0x3659f3)=>{const _0x3f044e=a41_0x1bd18f,_0x574d52={};_0x574d52[_0x3f044e(0x21c)]=function(_0x5ced39,_0x11fcdd){return _0x5ced39+_0x11fcdd;},_0x574d52[_0x3f044e(0x28b)]=function(_0x51080d,_0x18bdf2){return _0x51080d+_0x18bdf2;};const _0x1f6ae4=_0x574d52;return _0x1f6ae4[_0x3f044e(0x21c)](_0x1f6ae4['kCPoJ'](this[_0x3f044e(0x213)](_0x7c9964),'-'),_0x3659f3);};[a41_0x1bd18f(0x1fb)]=_0x5fbefd=>{const _0x5394c1=a41_0x1bd18f,_0x415137={};_0x415137[_0x5394c1(0x28f)]=_0x5394c1(0x201),_0x415137[_0x5394c1(0x2a7)]=_0x5394c1(0x20c),_0x415137['mMOKs']=_0x5394c1(0x2b6),_0x415137[_0x5394c1(0x285)]=_0x5394c1(0x22c),_0x415137[_0x5394c1(0x2cc)]=_0x5394c1(0x1fa),_0x415137[_0x5394c1(0x1f8)]=_0x5394c1(0x26c),_0x415137[_0x5394c1(0x2ae)]='afterAll\x20hook',_0x415137[_0x5394c1(0x233)]=_0x5394c1(0x2df),_0x415137['JQHPs']=_0x5394c1(0x23d);const _0x4c6a1=_0x415137;if(_0x5fbefd[_0x5394c1(0x2c5)](_0x4c6a1[_0x5394c1(0x28f)]))return _0x4c6a1[_0x5394c1(0x2a7)];else{if(_0x5fbefd[_0x5394c1(0x2c5)](_0x4c6a1['mMOKs']))return _0x4c6a1['fmXVi'];else{if(_0x5fbefd[_0x5394c1(0x2c5)](_0x4c6a1[_0x5394c1(0x2cc)]))return _0x4c6a1[_0x5394c1(0x1f8)];else{if(_0x5fbefd[_0x5394c1(0x2c5)](_0x4c6a1[_0x5394c1(0x2ae)]))return _0x4c6a1['yodCn'];}}}return _0x4c6a1['JQHPs'];};[a41_0x1bd18f(0x214)]=_0x13950f=>{const _0x5c1e44=a41_0x1bd18f,_0x5d6fdf={};_0x5d6fdf['vZiRk']=function(_0x19a7b7,_0x3bb613){return _0x19a7b7===_0x3bb613;},_0x5d6fdf[_0x5c1e44(0x2d3)]='object';const _0x12adc1=_0x5d6fdf;let _0xc00991=_0x13950f[_0x5c1e44(0x2ab)];return _0x12adc1['vZiRk'](typeof _0x13950f['parent'],_0x12adc1['NTdpc'])&&(_0xc00991=_0xc00991[_0x5c1e44(0x208)]),_0xc00991+'\x20-\x20'+_0x13950f[_0x5c1e44(0x208)];};[a41_0x1bd18f(0x2b7)](){return![];}}function a41_0x5188(){const _0x179576=['getCustomRerunParam','onTestEnd','_gitConfigured','\x20is\x20triggered','19402OspNjo','Trace\x20file\x20found\x20for\x20test:\x20','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','forEach','../../../helpers/testhub/utils','804023gphRff','kZTRB','_projectId','../../../helpers/test-observability/error-handler','expectedStatus','ilvdn','xgpEk','MSHBm','fmXVi','gKplm','failure','TestRunFinished','HookRunStarted','titlePath','kCPoJ','9800775JJbvvb','GpTsI','onStepBegin','lzMWa','20sTZzCm','error','.txt','OBTuL','path','../../../helpers/test-observability/constants','env','length','TbdaF','message','../../../helpers/helper','USomX','UlFjB','exports','vlVTk','test_run_uuid','relative','qxHvB','result','attachments','kAhLA','Upweg','Kydef','xECzP','mhDmt','stack','unzcX','parent','THWBm','CaHay','qRFan','util','getHierarchy','filter','oKSan','eTmUD','startMonitoring','hEjrU','beforeAll\x20hook','printsToStdio','VdZWg','yreXW','WcFyE','./pwUtils','IHijS','Before\x20Hooks','rEjeA','sendHookRunEvent','setStepIdentifier','_testHooksMap','hook_run','endSession','EULvb','startsWith','statSync','400530FbNCZW','join','ZiaTJ','duration','indexOf','dwjiX','failure_reason','failure_type','Bzgym','failed','bUymF','retry','NTdpc','test_run','vVCfJ','WRUtE','reverse','../../../helpers/test-observability/sessionHandler','mtime','Error\x20in\x20sending\x20trace\x20zip:\x20%s','needToReportStep','map','../../../helpers/test-observability/utils','getInstance','AFTER_ALL','name','QxugF','basename','Sending\x20session\x20details\x20for\x20','oybfd','javascript','tYbqb','mfwbg','hook_run_uuid','FuFjo','Test\x20Finished\x20with\x20unique\x20id\x20','OEXPA','iakJZ','test','UmQpB','rqaCZ','HookRunFinished','Test\x20Started\x20with\x20unique\x20id\x20','GfiXe','biBdm','Error\x20in\x20calculating\x20performance:\x20','split','YUGrR','FLjBX','BROWSERSTACK_LOG_LEVEL','getStepIdentifier','QCXAv','BROWSERSTACK_TEST_RUN_ID','\x20for\x20','vdRSZ','Hook\x20Started\x20with\x20unique\x20id\x20','CbYPj','RuBkP','RvbCj','nQczi','afterEach\x20hook','getHookType','_gitConfigPath','onStepEnd','FOHIX','START_TIME','hooks','beforeEach\x20hook','1068XTMPAl','LDWTc','shutdown','BROWSERSTACK_O11Y_PERF_MEASUREMENT','OxRLW','push','title','zMFSk','PLAYWRIGHT','3049242ttHtOk','BEFORE_EACH','dDZTT','event_type','timedOut','onEnd','2|1|0|5|4|3|6','meta','getTestIdentifier','getScope','mkdirSync','base64','logs','XCVsz','options','YXdTG','../../../helpers/test-observability/requestQueueHandler','ttpwT','_tags','CoLfn','716oSYzjN','okBUv','uploadEventData','inspect','npbwq','reportLogs','itjRU','passed','haxew','PLAYWRIGHT_TRACE_LOGS','toString','utf8','errors','BEFORE_ALL','uuid','file','toISOString','Ujvxq','tNjgk','sendTestRunEvent','yodCn','Ibbkn','fGqMz','cwd','qHBsU','Hook\x20Finished\x20with\x20unique\x20id\x20','vjNON','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','TRGEd','root','unknown','../../../helpers/testhub/testhubHandler','XSxtL','cUPST','EvvVK','78rqReMW','onBegin','708uiGQMG','onTestBegin','getTestUUID','sKNoa','kVymz','existsSync','1449984YvGORv','getTime','setup','logLevel','expanded','bVJai','getStepsAndLogs','PGlmD','tTgmm','fVVnI','splice','backtrace','location','LogCreated','16DPLQjX','ktwdy','eCrSp','category','startTime','sllCj','sendSessionDetails','format','readFileSync','CFoIH','trace_','configureGit','fUFYw','qXsQX','grdjS','startedAt','finishedAt','\x20at\x20','_tests','getTestRunIdentifier','AFTER_EACH','WekRx','afterAll\x20hook','_bs_hookIdentifier','hook','EMhEA','steps','status'];a41_0x5188=function(){return _0x179576;};return a41_0x5188();}function a41_0x5186(_0xb1efdf,_0x485380){const _0x5188cc=a41_0x5188();return a41_0x5186=function(_0x5186d5,_0x57b88b){_0x5186d5=_0x5186d5-0x1ea;let _0x2ea6e4=_0x5188cc[_0x5186d5];return _0x2ea6e4;},a41_0x5186(_0xb1efdf,_0x485380);}module[a41_0x1bd18f(0x29d)]=o11yClassErrorHandler(MyReporter,[a41_0x1bd18f(0x243),a41_0x1bd18f(0x2c3),'onTestBegin',a41_0x1bd18f(0x275),a41_0x1bd18f(0x28e),a41_0x1bd18f(0x1fd),a41_0x1bd18f(0x25e)],'MyReporter');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a42_0x4974cb=a42_0x5c74;(function(_0x269ff8,_0x3361ef){const _0x55b7b2=a42_0x5c74,_0x34e03c=_0x269ff8();while(!![]){try{const _0x5cc944=-parseInt(_0x55b7b2(0xab))/0x1*(parseInt(_0x55b7b2(0x8f))/0x2)+parseInt(_0x55b7b2(0x8a))/0x3*(-parseInt(_0x55b7b2(0xa2))/0x4)+-parseInt(_0x55b7b2(0xc9))/0x5+parseInt(_0x55b7b2(0xa4))/0x6*(-parseInt(_0x55b7b2(0xd5))/0x7)+parseInt(_0x55b7b2(0xa6))/0x8+-parseInt(_0x55b7b2(0x88))/0x9*(-parseInt(_0x55b7b2(0xe2))/0xa)+parseInt(_0x55b7b2(0xb5))/0xb;if(_0x5cc944===_0x3361ef)break;else _0x34e03c['push'](_0x34e03c['shift']());}catch(_0x673780){_0x34e03c['push'](_0x34e03c['shift']());}}}(a42_0x1bcf,0xe5bfd));function a42_0x1bcf(){const _0x5028b1=['386097GdMSgy','join','lFFJM','getTestRunIdFromTestInfo','toString','2pWTZLt','some','GdXyu','jceYT','.browserstack','endsWith','cwd','YCyXr','getTestDetails','RdLkM','uhCTK','ahAxR','project','setTestDetails','uuid','env','filePath','_traceZipPaths.json','recursive','20eHFhpl','getProjectIdFromTestInfo','12534oXBzXb','rHPZF','3822240HRjrXT','appendToTracePaths','getAccessibilityPlatformValidation','dMhxJ','getTestIdFromTestInfo','1045235VpDkni','force','Error\x20writing\x20trace\x20file:\x20','getFilePath','forEach','lqtgn','testId','jLWRk','shutdown','util','34038312xiwdLc','UWyXA','BS_TESTOPS_BUILD_HASHED_ID','nITRz','message','Error\x20handling\x20trace\x20file\x20paths:\x20','.json','qVefw','_projectId','getStoreDirPath','jBESH','getTraceZipDir','exports','dAJez','readFileSync','tests','existsSync','traceZipDir','addTraceFilePath','utf8','510810ZMYQIU','split','XCDwp','../../../helpers/helper','push','bWOlq','.txt','../../../helpers/logger','winstonLogger','readdirSync','values','error','4319kdrBeb','EMqXp','LXLyt','getTraceFilePaths','retry','tIEYb','getTestUUID','xprDE','traceZipPaths','setup','stringify','setAccessibilityPlatformValidation','_test','11870eQBufT','GRIkv','getStoreDirName','parse','0|4|2|3|1','__projectId','writeFileSync','rmSync','dirPath','trace_','mkdirSync','_platformDetails.json','3402BDgluw','default'];a42_0x1bcf=function(){return _0x5028b1;};return a42_0x1bcf();}function a42_0x5c74(_0x24b1d7,_0x27a4f6){const _0x1bcf42=a42_0x1bcf();return a42_0x5c74=function(_0x5c7412,_0x48b9e1){_0x5c7412=_0x5c7412-0x84;let _0x3f578f=_0x1bcf42[_0x5c7412];return _0x3f578f;},a42_0x5c74(_0x24b1d7,_0x27a4f6);}const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a42_0x4974cb(0x9d)),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require(a42_0x4974cb(0xcc)),logger=require(a42_0x4974cb(0xd0))[a42_0x4974cb(0xd1)],util=require(a42_0x4974cb(0xb4)),helper=require(a42_0x4974cb(0xcc));class TestDetails{static [a42_0x4974cb(0xc4)]={};static ['dirPath']=path[a42_0x4974cb(0x8b)](process[a42_0x4974cb(0x95)](),TestDetails[a42_0x4974cb(0xe4)]());static [a42_0x4974cb(0xc6)]=path[a42_0x4974cb(0x8b)](TestDetails[a42_0x4974cb(0x84)],a42_0x4974cb(0xdd));static[a42_0x4974cb(0xde)](){const _0x4d434f=a42_0x4974cb,_0x7ff3da={};_0x7ff3da['EMqXp']=_0x4d434f(0xe6),_0x7ff3da['lFFJM']='traceZipPaths';const _0x2ac6f3=_0x7ff3da,_0x4f6aa1=_0x2ac6f3[_0x4d434f(0xd6)][_0x4d434f(0xca)]('|');let _0x55d00b=0x0;while(!![]){switch(_0x4f6aa1[_0x55d00b++]){case'0':this['dirPath']=path[_0x4d434f(0x8b)](process[_0x4d434f(0x95)](),TestDetails['getStoreDirName']());continue;case'1':const _0x22102e={};_0x22102e[_0x4d434f(0xa1)]=!![],fs[_0x4d434f(0x86)](this[_0x4d434f(0xc6)],_0x22102e);continue;case'2':this[_0x4d434f(0xb3)]();continue;case'3':const _0x2dc2c2={};_0x2dc2c2['recursive']=!![],fs[_0x4d434f(0x86)](this[_0x4d434f(0x84)],_0x2dc2c2);continue;case'4':this[_0x4d434f(0xc6)]=path[_0x4d434f(0x8b)](this['dirPath'],_0x2ac6f3[_0x4d434f(0x8c)]);continue;}break;}}static[a42_0x4974cb(0xe4)](){const _0x1e7b88=a42_0x4974cb,_0x5675ef={};_0x5675ef[_0x1e7b88(0xa9)]=function(_0x4b550f,_0x19157c){return _0x4b550f+_0x19157c;},_0x5675ef[_0x1e7b88(0x91)]=function(_0x59ac85,_0x4c10b9){return _0x59ac85+_0x4c10b9;};const _0x4db15d=_0x5675ef;return _0x4db15d[_0x1e7b88(0xa9)](_0x4db15d[_0x1e7b88(0x91)](TEMP_STORE_DIR_NAME,'-'),process[_0x1e7b88(0x9e)][_0x1e7b88(0xb7)]);}static['getStoreDirPath'](){const _0x19b662=a42_0x4974cb,_0x5bb3b5={};_0x5bb3b5['UWyXA']=function(_0x146f7f,_0x2c3745){return _0x146f7f+_0x2c3745;},_0x5bb3b5[_0x19b662(0xc2)]=_0x19b662(0x89);const _0xfb6b0d=_0x5bb3b5;return path['join'](process[_0x19b662(0x95)](),_0xfb6b0d[_0x19b662(0xb6)](_0xfb6b0d['UWyXA'](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x19b662(0xb7)]||_0xfb6b0d[_0x19b662(0xc2)]));}static['getTraceZipDir'](){const _0x1e0c43=a42_0x4974cb,_0x123c62={};_0x123c62['rHPZF']=_0x1e0c43(0xdd);const _0x23b2df=_0x123c62;return path['join'](this[_0x1e0c43(0xbe)](),_0x23b2df[_0x1e0c43(0xa5)]);}static[a42_0x4974cb(0xae)](_0x299d3e){const _0x1edf64=a42_0x4974cb,_0x66217d={};_0x66217d[_0x1edf64(0x99)]=function(_0x16882c,_0x44a65e){return _0x16882c+_0x44a65e;},_0x66217d[_0x1edf64(0x92)]=_0x1edf64(0xbb);const _0x3d1d22=_0x66217d;return path['join'](this[_0x1edf64(0x84)],_0x3d1d22['uhCTK'](_0x299d3e,_0x3d1d22['jceYT']));}static[a42_0x4974cb(0x8d)](_0xae498b){const _0xf358a7=a42_0x4974cb,_0x4fba37={};_0x4fba37[_0xf358a7(0xcb)]=function(_0xd701ce,_0xaeadbc){return _0xd701ce+_0xaeadbc;},_0x4fba37[_0xf358a7(0xce)]=function(_0x1a370b,_0x5f012a){return _0x1a370b+_0x5f012a;};const _0x13eee7=_0x4fba37;return _0x13eee7['XCDwp'](_0x13eee7[_0xf358a7(0xcb)](_0x13eee7[_0xf358a7(0xcb)](_0x13eee7[_0xf358a7(0xce)](this[_0xf358a7(0xa3)](_0xae498b),'-'),this['getTestIdFromTestInfo'](_0xae498b)),'-'),_0xae498b[_0xf358a7(0xd9)]);}static[a42_0x4974cb(0xa3)](_0x2012c9){const _0x5805a3=a42_0x4974cb,_0x23e005={'ahAxR':function(_0x22a8c7,_0x415917,_0x2625bc){return _0x22a8c7(_0x415917,_0x2625bc);},'GRIkv':_0x5805a3(0xe1),'jBESH':_0x5805a3(0xbd),'jLWRk':_0x5805a3(0x9b),'qVefw':_0x5805a3(0xe7)};return _0x23e005[_0x5805a3(0x9a)](nestedKeyValue,_0x2012c9,[_0x23e005[_0x5805a3(0xe3)],_0x23e005[_0x5805a3(0xbf)]])||_0x23e005[_0x5805a3(0x9a)](nestedKeyValue,_0x2012c9,[_0x23e005[_0x5805a3(0xb2)],_0x23e005[_0x5805a3(0xbc)]]);}static[a42_0x4974cb(0xaa)](_0x5d8918){const _0x46c857=a42_0x4974cb,_0x25f202={'kjxIw':function(_0x16d106,_0x130298,_0x2cd97e){return _0x16d106(_0x130298,_0x2cd97e);},'nITRz':_0x46c857(0xe1)};return _0x25f202['kjxIw'](nestedKeyValue,_0x5d8918,[_0x25f202[_0x46c857(0xb8)],'id'])||_0x5d8918[_0x46c857(0xb1)];}static[a42_0x4974cb(0xdb)](_0x5c29e1){const _0x231962=a42_0x4974cb,_0x4ebd71={'tIEYb':function(_0x5756ca,_0x3af48c){return _0x5756ca===_0x3af48c;},'GdAfK':'string','AZPeG':function(_0x4a4388){return _0x4a4388();}};if(this[_0x231962(0xc4)][_0x5c29e1]&&_0x4ebd71[_0x231962(0xda)](typeof this[_0x231962(0xc4)][_0x5c29e1][_0x231962(0x9d)],_0x4ebd71['GdAfK']))return this[_0x231962(0xc4)][_0x5c29e1][_0x231962(0x9d)];const _0x54ae76=this['getFilePath'](_0x5c29e1);if(_0x54ae76&&fs[_0x231962(0xc5)](_0x54ae76)){const _0x443ae4=JSON['parse'](fs[_0x231962(0xc3)](_0x54ae76)[_0x231962(0x8e)]());return this['tests'][_0x5c29e1]=_0x443ae4,this[_0x231962(0xc4)][_0x5c29e1][_0x231962(0x9d)];}return this[_0x231962(0xc4)][_0x5c29e1]={'uuid':_0x4ebd71['AZPeG'](uuidv4)},fs[_0x231962(0xe8)](_0x54ae76,JSON['stringify'](this[_0x231962(0xc4)][_0x5c29e1])),this[_0x231962(0xc4)][_0x5c29e1][_0x231962(0x9d)];}static[a42_0x4974cb(0xa8)](_0x2451ce){const _0x58da0e=a42_0x4974cb,_0x13286f=path['join'](this[_0x58da0e(0x84)],_0x2451ce+_0x58da0e(0x87));if(_0x13286f&&fs['existsSync'](_0x13286f))return fs[_0x58da0e(0xc3)](_0x13286f)[_0x58da0e(0x8e)]();}static[a42_0x4974cb(0xe0)](_0x12495c,_0x42c1ce){const _0x106a9a=a42_0x4974cb,_0x4983e3=path[_0x106a9a(0x8b)](this[_0x106a9a(0x84)],_0x42c1ce+_0x106a9a(0x87));fs[_0x106a9a(0xe8)](_0x4983e3,_0x12495c[_0x106a9a(0x8e)]());}static[a42_0x4974cb(0xb3)](){const _0x5baa01=a42_0x4974cb,_0x4d5634={};_0x4d5634[_0x5baa01(0xa1)]=!![],_0x4d5634[_0x5baa01(0xac)]=!![],fs[_0x5baa01(0xe9)](this[_0x5baa01(0x84)],_0x4d5634);}static[a42_0x4974cb(0x97)](_0x4a7682){const _0x4a2a3f=a42_0x4974cb;if(this[_0x4a2a3f(0xc4)][_0x4a7682])return this[_0x4a2a3f(0xc4)][_0x4a7682];const _0x901550=this['getFilePath'](_0x4a7682);if(_0x901550&&fs['existsSync'](_0x901550)){const _0x139add=JSON[_0x4a2a3f(0xe5)](fs[_0x4a2a3f(0xc3)](_0x901550)['toString']());return this['tests'][_0x4a7682]=_0x139add,_0x139add;}return{};}static[a42_0x4974cb(0x9c)](_0x49c055,_0x2a6394){const _0x3db4c5=a42_0x4974cb,_0xb4cf0a=this[_0x3db4c5(0xae)](_0x49c055);if(_0xb4cf0a&&fs[_0x3db4c5(0xc5)](_0xb4cf0a)){const _0x2d9e13=JSON[_0x3db4c5(0xe5)](fs[_0x3db4c5(0xc3)](_0xb4cf0a)[_0x3db4c5(0x8e)]()),_0x67d1b9={..._0x2d9e13,..._0x2a6394};this[_0x3db4c5(0xc4)][_0x49c055]=_0x67d1b9;}else this['tests'][_0x49c055]=_0x2a6394;fs['writeFileSync'](_0xb4cf0a,this[_0x3db4c5(0xc4)][_0x49c055]);}static[a42_0x4974cb(0xc7)](_0x1c156c){const _0x332363=a42_0x4974cb,_0x1447ec={};_0x1447ec[_0x332363(0xdc)]=_0x332363(0xba);const _0xc11393=_0x1447ec;try{const _0x283223=process['pid'],_0x71b41a=path[_0x332363(0x8b)](TestDetails[_0x332363(0xc0)](),_0x283223+_0x332363(0xa0));let _0x42e2f9=[];_0x71b41a&&fs[_0x332363(0xc5)](_0x71b41a)&&(_0x42e2f9=JSON[_0x332363(0xe5)](fs[_0x332363(0xc3)](_0x71b41a)[_0x332363(0x8e)]())),!_0x42e2f9[_0x332363(0x90)](_0x366957=>_0x366957['filePath']===_0x1c156c[_0x332363(0x9f)])&&(_0x42e2f9[_0x332363(0xcd)](_0x1c156c),fs['writeFileSync'](_0x71b41a,JSON[_0x332363(0xdf)](_0x42e2f9)));}catch(_0x3aa98f){logger[_0x332363(0xd4)](_0xc11393[_0x332363(0xdc)],_0x3aa98f);}}static[a42_0x4974cb(0xd8)](){const _0x36efbe=a42_0x4974cb,_0x576f8d={};_0x576f8d[_0x36efbe(0x96)]=_0x36efbe(0xa0),_0x576f8d['lqtgn']='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x201bd0=_0x576f8d,_0xf4725c=[];try{const _0x399eec=TestDetails[_0x36efbe(0xc0)]();if(_0x399eec&&!fs[_0x36efbe(0xc5)](_0x399eec))return _0xf4725c;const _0x40f72d=fs[_0x36efbe(0xd2)](_0x399eec);_0x40f72d[_0x36efbe(0xaf)](_0x3c8cb8=>{const _0x2f3d4d=_0x36efbe;if(_0x3c8cb8&&_0x3c8cb8[_0x2f3d4d(0x94)](_0x201bd0[_0x2f3d4d(0x96)])){const _0x112e6c=JSON[_0x2f3d4d(0xe5)](fs[_0x2f3d4d(0xc3)](path['join'](_0x399eec,_0x3c8cb8))[_0x2f3d4d(0x8e)]());_0xf4725c['push'](..._0x112e6c);}});}catch(_0x11307c){logger[_0x36efbe(0xd4)](util['format'](_0x201bd0[_0x36efbe(0xb0)],_0x11307c));}const _0x37c4f4={};return _0xf4725c[_0x36efbe(0xaf)](_0x2f28a6=>{const _0x399db9=_0x36efbe;_0x37c4f4[_0x2f28a6[_0x399db9(0x9f)]]=_0x2f28a6;}),Object[_0x36efbe(0xd3)](_0x37c4f4);}static[a42_0x4974cb(0xa7)](_0x478295,_0x536b0e){const _0x10fe0d=a42_0x4974cb,_0x8f58f9={};_0x8f58f9[_0x10fe0d(0x98)]=_0x10fe0d(0x93),_0x8f58f9[_0x10fe0d(0xd7)]=_0x10fe0d(0xc8);const _0x4d6e3c=_0x8f58f9;try{const _0x2bdd7a=path[_0x10fe0d(0x8b)](helper['homedir'](),_0x4d6e3c[_0x10fe0d(0x98)]);if(!fs['existsSync'](_0x2bdd7a)){const _0x45eb63={};_0x45eb63[_0x10fe0d(0xa1)]=!![],fs['mkdirSync'](_0x2bdd7a,_0x45eb63);}fs['appendFileSync'](path[_0x10fe0d(0x8b)](_0x2bdd7a,_0x10fe0d(0x85)+_0x536b0e+_0x10fe0d(0xcf)),_0x478295+'\x0a',_0x4d6e3c[_0x10fe0d(0xd7)]);}catch(_0x58aa35){console['error'](_0x10fe0d(0xad)+_0x58aa35[_0x10fe0d(0xb9)]);}}}module[a42_0x4974cb(0xc1)]=TestDetails;
|
|
1
|
+
function a42_0x3f58(_0x230eb1,_0x2883ae){const _0x17450f=a42_0x1745();return a42_0x3f58=function(_0x3f58d6,_0x171ae4){_0x3f58d6=_0x3f58d6-0x18b;let _0x35e3b3=_0x17450f[_0x3f58d6];return _0x35e3b3;},a42_0x3f58(_0x230eb1,_0x2883ae);}function a42_0x1745(){const _0x20ec28=['shutdown','getTraceZipDir','hupDx','readFileSync','nHzOE','homedir','getTestUUID','Error\x20reading\x20trace\x20file\x20paths:\x20%s','jdafw','1|0|2|3|4','964952PgAJGH','RfLBY','7430CjDZRZ','LCSCx','MZdWn','.txt','exports','_projectId','_platformDetails.json','_test','../../../helpers/test-observability/constants','BS_TESTOPS_BUILD_HASHED_ID','appendFileSync','cwd','mkdirSync','getProjectIdFromTestInfo','LmNQi','setAccessibilityPlatformValidation','Qwtyx','DIVYm','BBGJX','_traceZipPaths.json','Error\x20handling\x20trace\x20file\x20paths:\x20','getStoreDirName','join','bAKzh','forEach','UsVLu','split','jmWko','dirPath','yDWgK','error','54YJHNtw','2143855IwEtJS','32021PIIUPR','endsWith','toString','ilPNV','addTraceFilePath','traceZipDir','env','getTestIdFromTestInfo','trace_','tests','ICYvl','1020FoQhRu','getTestRunIdFromTestInfo','../../../helpers/helper','values','testId','9866YvbGyJ','writeFileSync','getTestDetails','171269MoWErL','qRsSe','ypLMR','2700IhpcfF','MMiqG','retry','stringify','setup','VkTDm','filePath','pcuDW','51ukhUSI','jBYkJ','readdirSync','recursive','2556696nJnblh','getFilePath','getStoreDirPath','push','existsSync','parse','getAccessibilityPlatformValidation','../../../helpers/logger','format','Error\x20writing\x20trace\x20file:\x20','uuid','getTraceFilePaths','project','traceZipPaths','pid','iOFbd','__projectId','vAryd','nzhBm','oAWJY'];a42_0x1745=function(){return _0x20ec28;};return a42_0x1745();}const a42_0x22a91c=a42_0x3f58;(function(_0x1f4e64,_0x39b207){const _0x2a8b19=a42_0x3f58,_0x437255=_0x1f4e64();while(!![]){try{const _0x23d2f5=-parseInt(_0x2a8b19(0x1b5))/0x1*(parseInt(_0x2a8b19(0x1a7))/0x2)+parseInt(_0x2a8b19(0x1ad))/0x3*(parseInt(_0x2a8b19(0x1a2))/0x4)+-parseInt(_0x2a8b19(0x196))/0x5+-parseInt(_0x2a8b19(0x1b9))/0x6+-parseInt(_0x2a8b19(0x1aa))/0x7+parseInt(_0x2a8b19(0x1d7))/0x8*(-parseInt(_0x2a8b19(0x195))/0x9)+parseInt(_0x2a8b19(0x1d9))/0xa*(parseInt(_0x2a8b19(0x197))/0xb);if(_0x23d2f5===_0x39b207)break;else _0x437255['push'](_0x437255['shift']());}catch(_0x4cf31d){_0x437255['push'](_0x437255['shift']());}}}(a42_0x1745,0x8347a));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a42_0x22a91c(0x1c3)),{TEMP_STORE_DIR_NAME}=require(a42_0x22a91c(0x1e1)),{nestedKeyValue}=require(a42_0x22a91c(0x1a4)),logger=require(a42_0x22a91c(0x1c0))['winstonLogger'],util=require('util'),helper=require(a42_0x22a91c(0x1a4));class TestDetails{static ['tests']={};static [a42_0x22a91c(0x192)]=path[a42_0x22a91c(0x18c)](process[a42_0x22a91c(0x1e4)](),TestDetails[a42_0x22a91c(0x18b)]());static [a42_0x22a91c(0x19c)]=path[a42_0x22a91c(0x18c)](TestDetails[a42_0x22a91c(0x192)],a42_0x22a91c(0x1c6));static[a42_0x22a91c(0x1b1)](){const _0x695230=a42_0x22a91c,_0x18fb4a={};_0x18fb4a[_0x695230(0x1e7)]=_0x695230(0x1d6),_0x18fb4a[_0x695230(0x1d1)]='traceZipPaths';const _0x31f94=_0x18fb4a,_0x52d740=_0x31f94['LmNQi'][_0x695230(0x190)]('|');let _0x48ad62=0x0;while(!![]){switch(_0x52d740[_0x48ad62++]){case'0':this[_0x695230(0x19c)]=path[_0x695230(0x18c)](this[_0x695230(0x192)],_0x31f94[_0x695230(0x1d1)]);continue;case'1':this[_0x695230(0x192)]=path[_0x695230(0x18c)](process['cwd'](),TestDetails[_0x695230(0x18b)]());continue;case'2':this[_0x695230(0x1cd)]();continue;case'3':const _0x5f1838={};_0x5f1838[_0x695230(0x1b8)]=!![],fs['mkdirSync'](this[_0x695230(0x192)],_0x5f1838);continue;case'4':const _0x1f0590={};_0x1f0590['recursive']=!![],fs[_0x695230(0x1e5)](this[_0x695230(0x19c)],_0x1f0590);continue;}break;}}static['getStoreDirName'](){const _0x5d5144=a42_0x22a91c,_0x5149e9={};_0x5149e9[_0x5d5144(0x1e9)]=function(_0x3f9e87,_0x13c919){return _0x3f9e87+_0x13c919;},_0x5149e9[_0x5d5144(0x1ea)]=function(_0x553b2e,_0x33ad93){return _0x553b2e+_0x33ad93;};const _0xea505f=_0x5149e9;return _0xea505f[_0x5d5144(0x1e9)](_0xea505f[_0x5d5144(0x1ea)](TEMP_STORE_DIR_NAME,'-'),process[_0x5d5144(0x19d)][_0x5d5144(0x1e2)]);}static[a42_0x22a91c(0x1bb)](){const _0x33e928=a42_0x22a91c,_0x56a894={};_0x56a894[_0x33e928(0x191)]=function(_0x5ac996,_0x28b473){return _0x5ac996+_0x28b473;},_0x56a894[_0x33e928(0x1cb)]='default';const _0x44cc8d=_0x56a894;return path[_0x33e928(0x18c)](process[_0x33e928(0x1e4)](),_0x44cc8d[_0x33e928(0x191)](_0x44cc8d[_0x33e928(0x191)](TEMP_STORE_DIR_NAME,'-'),process[_0x33e928(0x19d)][_0x33e928(0x1e2)]||_0x44cc8d['nzhBm']));}static[a42_0x22a91c(0x1ce)](){const _0x1b778d=a42_0x22a91c,_0x38c2a0={};_0x38c2a0[_0x1b778d(0x1ab)]=_0x1b778d(0x1c6);const _0x202035=_0x38c2a0;return path[_0x1b778d(0x18c)](this[_0x1b778d(0x1bb)](),_0x202035['qRsSe']);}static[a42_0x22a91c(0x1ba)](_0x4fdcb5){const _0x24a25f=a42_0x22a91c,_0x13806b={};_0x13806b[_0x24a25f(0x18f)]=function(_0x2f1a4c,_0x2cf10f){return _0x2f1a4c+_0x2cf10f;},_0x13806b[_0x24a25f(0x193)]='.json';const _0x2871a6=_0x13806b;return path[_0x24a25f(0x18c)](this[_0x24a25f(0x192)],_0x2871a6[_0x24a25f(0x18f)](_0x4fdcb5,_0x2871a6[_0x24a25f(0x193)]));}static[a42_0x22a91c(0x1a3)](_0x1d2762){const _0x49a8fe=a42_0x22a91c,_0x16ae41={};_0x16ae41[_0x49a8fe(0x18d)]=function(_0x225ad7,_0x35627d){return _0x225ad7+_0x35627d;},_0x16ae41['BBGJX']=function(_0x3affe7,_0x430ed3){return _0x3affe7+_0x430ed3;},_0x16ae41[_0x49a8fe(0x1ac)]=function(_0x4d543a,_0x570f56){return _0x4d543a+_0x570f56;};const _0xd52138=_0x16ae41;return _0xd52138['bAKzh'](_0xd52138[_0x49a8fe(0x1eb)](_0xd52138['bAKzh'](_0xd52138['ypLMR'](this[_0x49a8fe(0x1e6)](_0x1d2762),'-'),this[_0x49a8fe(0x19e)](_0x1d2762)),'-'),_0x1d2762[_0x49a8fe(0x1af)]);}static['getProjectIdFromTestInfo'](_0x22b0f0){const _0x38ad13=a42_0x22a91c,_0x1bd2e0={'ilPNV':function(_0x323b9e,_0x3340d7,_0x55f5d3){return _0x323b9e(_0x3340d7,_0x55f5d3);},'pcuDW':_0x38ad13(0x1e0),'jdafw':_0x38ad13(0x1de),'MZdWn':_0x38ad13(0x1c5),'QmUeJ':_0x38ad13(0x1c9)};return _0x1bd2e0['ilPNV'](nestedKeyValue,_0x22b0f0,[_0x1bd2e0[_0x38ad13(0x1b4)],_0x1bd2e0[_0x38ad13(0x1d5)]])||_0x1bd2e0[_0x38ad13(0x19a)](nestedKeyValue,_0x22b0f0,[_0x1bd2e0[_0x38ad13(0x1db)],_0x1bd2e0['QmUeJ']]);}static[a42_0x22a91c(0x19e)](_0x5ce931){const _0x2143c7=a42_0x22a91c,_0x1556e3={'jBYkJ':function(_0x3cfcc4,_0x1a0790,_0x1f9fae){return _0x3cfcc4(_0x1a0790,_0x1f9fae);},'RfLBY':'_test'};return _0x1556e3[_0x2143c7(0x1b6)](nestedKeyValue,_0x5ce931,[_0x1556e3[_0x2143c7(0x1d8)],'id'])||_0x5ce931[_0x2143c7(0x1a6)];}static[a42_0x22a91c(0x1d3)](_0x190431){const _0x2c6d76=a42_0x22a91c,_0x5dd961={'oAWJY':function(_0x5e0fe8,_0x1fa8e7){return _0x5e0fe8===_0x1fa8e7;},'vAryd':'string','iOFbd':function(_0x466965){return _0x466965();}};if(this['tests'][_0x190431]&&_0x5dd961[_0x2c6d76(0x1cc)](typeof this['tests'][_0x190431][_0x2c6d76(0x1c3)],_0x5dd961[_0x2c6d76(0x1ca)]))return this[_0x2c6d76(0x1a0)][_0x190431]['uuid'];const _0x27cbad=this[_0x2c6d76(0x1ba)](_0x190431);if(_0x27cbad&&fs[_0x2c6d76(0x1bd)](_0x27cbad)){const _0x39e6c9=JSON[_0x2c6d76(0x1be)](fs[_0x2c6d76(0x1d0)](_0x27cbad)[_0x2c6d76(0x199)]());return this[_0x2c6d76(0x1a0)][_0x190431]=_0x39e6c9,this[_0x2c6d76(0x1a0)][_0x190431][_0x2c6d76(0x1c3)];}return this['tests'][_0x190431]={'uuid':_0x5dd961[_0x2c6d76(0x1c8)](uuidv4)},fs[_0x2c6d76(0x1a8)](_0x27cbad,JSON[_0x2c6d76(0x1b0)](this['tests'][_0x190431])),this[_0x2c6d76(0x1a0)][_0x190431][_0x2c6d76(0x1c3)];}static[a42_0x22a91c(0x1bf)](_0x6abd19){const _0x1dc8e2=a42_0x22a91c,_0x424c5d=path['join'](this[_0x1dc8e2(0x192)],_0x6abd19+_0x1dc8e2(0x1df));if(_0x424c5d&&fs['existsSync'](_0x424c5d))return fs[_0x1dc8e2(0x1d0)](_0x424c5d)[_0x1dc8e2(0x199)]();}static[a42_0x22a91c(0x1e8)](_0x32b65b,_0x3c5391){const _0x45c429=a42_0x22a91c,_0x36548a=path['join'](this[_0x45c429(0x192)],_0x3c5391+_0x45c429(0x1df));fs[_0x45c429(0x1a8)](_0x36548a,_0x32b65b[_0x45c429(0x199)]());}static['shutdown'](){const _0x1b0c01=a42_0x22a91c,_0x36db97={};_0x36db97['recursive']=!![],_0x36db97['force']=!![],fs['rmSync'](this[_0x1b0c01(0x192)],_0x36db97);}static[a42_0x22a91c(0x1a9)](_0x3d198a){const _0x5af64c=a42_0x22a91c;if(this['tests'][_0x3d198a])return this[_0x5af64c(0x1a0)][_0x3d198a];const _0xc09961=this[_0x5af64c(0x1ba)](_0x3d198a);if(_0xc09961&&fs['existsSync'](_0xc09961)){const _0x459397=JSON[_0x5af64c(0x1be)](fs['readFileSync'](_0xc09961)[_0x5af64c(0x199)]());return this[_0x5af64c(0x1a0)][_0x3d198a]=_0x459397,_0x459397;}return{};}static['setTestDetails'](_0x17cc8e,_0x2390a9){const _0x52f4d5=a42_0x22a91c,_0x6c8a3c=this[_0x52f4d5(0x1ba)](_0x17cc8e);if(_0x6c8a3c&&fs[_0x52f4d5(0x1bd)](_0x6c8a3c)){const _0x41a8b0=JSON[_0x52f4d5(0x1be)](fs[_0x52f4d5(0x1d0)](_0x6c8a3c)[_0x52f4d5(0x199)]()),_0x4599fb={..._0x41a8b0,..._0x2390a9};this[_0x52f4d5(0x1a0)][_0x17cc8e]=_0x4599fb;}else this[_0x52f4d5(0x1a0)][_0x17cc8e]=_0x2390a9;fs['writeFileSync'](_0x6c8a3c,this['tests'][_0x17cc8e]);}static[a42_0x22a91c(0x19b)](_0x5c321e){const _0x59e02b=a42_0x22a91c,_0x215624={};_0x215624[_0x59e02b(0x1cf)]=_0x59e02b(0x1ed);const _0x5e16a5=_0x215624;try{const _0x14c179=process[_0x59e02b(0x1c7)],_0x3cbd2f=path[_0x59e02b(0x18c)](TestDetails[_0x59e02b(0x1ce)](),_0x14c179+_0x59e02b(0x1ec));let _0x489979=[];_0x3cbd2f&&fs['existsSync'](_0x3cbd2f)&&(_0x489979=JSON[_0x59e02b(0x1be)](fs[_0x59e02b(0x1d0)](_0x3cbd2f)[_0x59e02b(0x199)]())),!_0x489979['some'](_0x28199d=>_0x28199d['filePath']===_0x5c321e['filePath'])&&(_0x489979[_0x59e02b(0x1bc)](_0x5c321e),fs[_0x59e02b(0x1a8)](_0x3cbd2f,JSON['stringify'](_0x489979)));}catch(_0x80eb5a){logger[_0x59e02b(0x194)](_0x5e16a5[_0x59e02b(0x1cf)],_0x80eb5a);}}static[a42_0x22a91c(0x1c4)](){const _0x2b13a8=a42_0x22a91c,_0x489d28={};_0x489d28[_0x2b13a8(0x1ae)]=_0x2b13a8(0x1ec),_0x489d28[_0x2b13a8(0x1a1)]=_0x2b13a8(0x1d4);const _0x1e468b=_0x489d28,_0x37154b=[];try{const _0x388ecb=TestDetails[_0x2b13a8(0x1ce)]();if(_0x388ecb&&!fs['existsSync'](_0x388ecb))return _0x37154b;const _0x23c982=fs[_0x2b13a8(0x1b7)](_0x388ecb);_0x23c982['forEach'](_0x277bbd=>{const _0x3a3e58=_0x2b13a8;if(_0x277bbd&&_0x277bbd[_0x3a3e58(0x198)](_0x1e468b[_0x3a3e58(0x1ae)])){const _0x4f6c54=JSON[_0x3a3e58(0x1be)](fs['readFileSync'](path['join'](_0x388ecb,_0x277bbd))[_0x3a3e58(0x199)]());_0x37154b[_0x3a3e58(0x1bc)](..._0x4f6c54);}});}catch(_0x39b815){logger[_0x2b13a8(0x194)](util[_0x2b13a8(0x1c1)](_0x1e468b[_0x2b13a8(0x1a1)],_0x39b815));}const _0x1f848a={};return _0x37154b[_0x2b13a8(0x18e)](_0x102d6d=>{const _0x53e439=_0x2b13a8;_0x1f848a[_0x102d6d[_0x53e439(0x1b3)]]=_0x102d6d;}),Object[_0x2b13a8(0x1a5)](_0x1f848a);}static['appendToTracePaths'](_0x390210,_0xe4f182){const _0x168261=a42_0x22a91c,_0x36c233={};_0x36c233[_0x168261(0x1da)]='.browserstack',_0x36c233[_0x168261(0x1b2)]='utf8';const _0x3fa1cb=_0x36c233;try{const _0x75ff95=path[_0x168261(0x18c)](helper[_0x168261(0x1d2)](),_0x3fa1cb[_0x168261(0x1da)]);if(!fs[_0x168261(0x1bd)](_0x75ff95)){const _0x28c03a={};_0x28c03a['recursive']=!![],fs['mkdirSync'](_0x75ff95,_0x28c03a);}fs[_0x168261(0x1e3)](path[_0x168261(0x18c)](_0x75ff95,_0x168261(0x19f)+_0xe4f182+_0x168261(0x1dc)),_0x390210+'\x0a',_0x3fa1cb['VkTDm']);}catch(_0x4a0682){console[_0x168261(0x194)](_0x168261(0x1c2)+_0x4a0682['message']);}}}module[a42_0x22a91c(0x1dd)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a43_0x4c88(_0x568283,_0x5cd931){const _0x1c3526=a43_0x1c35();return a43_0x4c88=function(_0x4c8860,_0x5dae5b){_0x4c8860=_0x4c8860-0x6e;let _0x332b2b=_0x1c3526[_0x4c8860];return _0x332b2b;},a43_0x4c88(_0x568283,_0x5cd931);}const a43_0x245944=a43_0x4c88;(function(_0x4bf62c,_0x59304c){const _0x556908=a43_0x4c88,_0xf98189=_0x4bf62c();while(!![]){try{const _0x423b3f=-parseInt(_0x556908(0xda))/0x1+parseInt(_0x556908(0xed))/0x2+-parseInt(_0x556908(0xc4))/0x3+-parseInt(_0x556908(0xe4))/0x4*(parseInt(_0x556908(0x10f))/0x5)+-parseInt(_0x556908(0xea))/0x6*(parseInt(_0x556908(0xeb))/0x7)+parseInt(_0x556908(0x10d))/0x8*(-parseInt(_0x556908(0xa8))/0x9)+parseInt(_0x556908(0x8e))/0xa*(parseInt(_0x556908(0xb2))/0xb);if(_0x423b3f===_0x59304c)break;else _0xf98189['push'](_0xf98189['shift']());}catch(_0x503ae3){_0xf98189['push'](_0xf98189['shift']());}}}(a43_0x1c35,0xd2990));function a43_0x1c35(){const _0x2d0e9e=['hXuwi','url','22012mBuaXN','XKtOZ','Aysfh','Failed\x20to\x20perform\x20scan\x20','hQDJg','uosgl','4902582impKVN','14sMNYxd','titlePath','1597420URxxFF','_browserType','util','patchCRConnection','__driver','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','product','sessionError','rPEro','bsSessionId','path','automate','bptTO','uqjcH','sLfPT','browser','Connection','_name','GSmtZ','capabilities','zGkOZ','currentSessionDetails','QgwhE','_defaultConnectOptions','apply','browserName','bbHwN','IssPT','../../helpers/test-observability/error-handler','function','pafwG','model','16KEXiee','winstonLogger','580mTJCoO','Not\x20able\x20to\x20import\x20Connection','ELLbo','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','performScan','IsIZI','testInfo','edge','_connection','NrSrq','assign','WImgT','IsRVd','wlFTl','sendMessageToServer','djGgN','Not\x20able\x20to\x20import\x20crConnection','NIHvM','use','version','cknBm','browserstack-ats.com','vzcpW','platform','KUzes','JmTwo','MFEUE','_onMessage','../../bin/playwright/accessibility-helper','debug','join','playwright-','browserstack','IEJCF','OQeTl','SdTdF','AIFBW','DRndb','270kQQSsM','XDXYo','params','hbtoA','../../helpers/test-observability/utils','platformName','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','fAvsV','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','../../helpers/accessibility-automation/helper','connection.js','format','TZFJj','project','Performing\x20scan\x20for\x20','turboscale','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','query','dispatch','prototype','mLCRj','connectOptions','INzRo','HUdWv','bstackPerformA11yScan','defineProperty','4540356FcYAFu','bBGlX','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','patchConnection','ecBCp','__workerDetails','parse','browser_version','lyfDX','currentTest','1763025AsSEJi','YlFOu','bStackParams','cloudProvider','platform_version','./accessibility-helper','gONMl','bwGQX','toString','browserstack.com','xHqvw','fromEntries','Page','RSMlD','test','bsParams','Error\x20in\x20importing\x20connection\x20','bpmwG','254157HsefoD','pwPage','ZJmeX','Setting\x20session\x20id\x20received\x20from\x20BS\x20','sBMyr','eSxly','env','shouldWrapCommand','includes','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','sessionId','BLIcg','channel','client','../../helpers/accessibility-automation/scripts','setupBrowserDetails','platformVersion','../../helpers/logger','LXyNZ','chrome','caps','unknown_grid','897298vJdTwF','wsEndpoint','isRemote','accessibilityPlatform','firefox','method','deviceModel','yHNLK'];a43_0x1c35=function(){return _0x2d0e9e;};return a43_0x1c35();}const path=require(a43_0x245944(0xf7)),url=require(a43_0x245944(0xe3)),util=require(a43_0x245944(0xef)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require(a43_0x245944(0x109)),{debug,getPlatformDetails}=require(a43_0x245944(0x92)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x245944(0x97)),logger=require(a43_0x245944(0xd5))[a43_0x245944(0x10e)],scripts=require(a43_0x245944(0xd2)),{browserStackExecuteDriver}=require(a43_0x245944(0x84)),AccessibilityHelper=require(a43_0x245944(0xb7)),constants=require('../utils/constants'),getBrowserNameFromChannel=_0x39a4ce=>{const _0x219766=a43_0x245944,_0x3115d3={};_0x3115d3['INzRo']=_0x219766(0xd7),_0x3115d3[_0x219766(0x7e)]=_0x219766(0x6f),_0x3115d3[_0x219766(0x75)]=_0x219766(0xde),_0x3115d3['pafwG']='safari';const _0x1e01fb=_0x3115d3;if(_0x39a4ce[_0x219766(0xcc)](_0x1e01fb['INzRo']))return _0x1e01fb[_0x219766(0xa4)];if(_0x39a4ce[_0x219766(0xcc)](_0x1e01fb['vzcpW']))return _0x1e01fb['vzcpW'];if(_0x39a4ce[_0x219766(0xcc)](_0x1e01fb[_0x219766(0x75)]))return _0x1e01fb[_0x219766(0x75)];if(_0x39a4ce[_0x219766(0xcc)](_0x1e01fb[_0x219766(0x10b)]))return _0x1e01fb['pafwG'];},getBrowserFromWSEndpoint=_0x1ea5ed=>{const _0x1eb49b=a43_0x245944,_0x4a10bc={'RSMlD':_0x1eb49b(0xd7),'xHqvw':function(_0x836893,_0x499b68){return _0x836893(_0x499b68);}};try{const _0x8cf4a9=url[_0x1eb49b(0xae)](_0x1ea5ed),_0x3dfbbb=new URLSearchParams(_0x8cf4a9[_0x1eb49b(0x9f)]),_0x4e8602=Object[_0x1eb49b(0xbd)](_0x3dfbbb['entries']()),_0x42d311=JSON[_0x1eb49b(0xae)](_0x4e8602[_0x1eb49b(0xd8)]);if(_0x42d311&&(_0x42d311['browser']||_0x42d311['browserName']))return _0x42d311[_0x1eb49b(0xfc)]||_0x42d311[_0x1eb49b(0x106)];return _0x4a10bc[_0x1eb49b(0xbf)];}catch(_0x20de5e){_0x4a10bc[_0x1eb49b(0xbc)](debug,_0x1eb49b(0xcd)+_0x20de5e[_0x1eb49b(0xba)]());}},getCloudProviderFromWsEndpoint=_0x42e885=>{const _0x5d9219=a43_0x245944,_0x51e42e={};_0x51e42e[_0x5d9219(0x108)]=_0x5d9219(0xbb),_0x51e42e['wNyAV']=_0x5d9219(0x7d),_0x51e42e[_0x5d9219(0xc6)]='browserstack',_0x51e42e['bbHwN']=_0x5d9219(0xd9);const _0x4e7667=_0x51e42e;if(_0x42e885['includes'](_0x4e7667['IssPT'])||_0x42e885[_0x5d9219(0xcc)](_0x4e7667['wNyAV']))return _0x4e7667[_0x5d9219(0xc6)];return _0x4e7667[_0x5d9219(0x107)];},a43_0x2e4927={};a43_0x2e4927['cloudProvider']=undefined,a43_0x2e4927[a43_0x245944(0xf6)]=undefined,a43_0x2e4927[a43_0x245944(0xfc)]=undefined,a43_0x2e4927[a43_0x245944(0xaf)]=undefined,a43_0x2e4927[a43_0x245944(0x7f)]=undefined,a43_0x2e4927['platform_version']=undefined,a43_0x2e4927[a43_0x245944(0xf3)]=undefined,a43_0x2e4927[a43_0x245944(0x100)]={};class PlaywrightSessionDetails{static [a43_0x245944(0x102)]=a43_0x2e4927;constructor(){const _0x494b68=a43_0x245944,_0x12078a={};_0x12078a[_0x494b68(0xa9)]=_0x494b68(0x9e);const _0x32050b=_0x12078a;throw new Error(_0x32050b['bBGlX']);}static [a43_0x245944(0xf4)]=null;static[a43_0x245944(0xd3)](_0x9b3f58,_0x401f76,_0x580db5=null){const _0x47ab25=a43_0x245944,_0x226aaa={'zGkOZ':function(_0x25781e,_0x26e157){return _0x25781e===_0x26e157;},'sBMyr':_0x47ab25(0x10a),'tzYGH':_0x47ab25(0x94),'yHNLK':'Device\x20Model\x20is\x20not\x20available','eSxly':'local_grid','XKtOZ':function(_0x51151c,_0x4f1d77,_0x3263cb){return _0x51151c(_0x4f1d77,_0x3263cb);},'ELLbo':'_browserType','HxRHj':_0x47ab25(0x104),'GSmtZ':function(_0x3b38f5,_0x380726,_0x1a776c){return _0x3b38f5(_0x380726,_0x1a776c);},'bptTO':_0x47ab25(0x9b),'BLIcg':_0x47ab25(0x7a),'rPEro':_0x47ab25(0xa3),'uosgl':function(_0x1b052b,_0x23a65d){return _0x1b052b(_0x23a65d);},'HUdWv':function(_0x47f692,_0x3518d0){return _0x47f692===_0x3518d0;},'cknBm':_0x47ab25(0x88),'XDXYo':_0x47ab25(0x9d),'Aysfh':_0x47ab25(0xf8),'LXyNZ':function(_0x31c3e0,_0x4163c1){return _0x31c3e0(_0x4163c1);},'KUzes':function(_0x5b2203,_0x43c185){return _0x5b2203+_0x43c185;},'DoTzK':_0x47ab25(0x87),'TCoFQ':function(_0x4cee22){return _0x4cee22();},'AIFBW':function(_0x57aab9,_0x13a284,_0x3e9532){return _0x57aab9(_0x13a284,_0x3e9532);},'MFEUE':_0x47ab25(0xd3)},_0x223cf1=this;return _0x226aaa[_0x47ab25(0x8c)](o11yErrorHandler,async function _0x40ab42(_0x5916da,_0x2228f3,_0x4b19b1=null){const _0x32448e=_0x47ab25;let _0x634b2f=_0x5916da[_0x32448e(0xfe)],_0x1cde32=null;_0x5916da&&_0x226aaa[_0x32448e(0x101)](typeof _0x5916da[_0x32448e(0x7b)],_0x226aaa[_0x32448e(0xc8)])?_0x1cde32=_0x5916da[_0x32448e(0x7b)]():logger[_0x32448e(0x85)](_0x226aaa['tzYGH']);let _0x1c42a7=null;_0x5916da&&_0x226aaa[_0x32448e(0x101)](typeof _0x5916da[_0x32448e(0x10c)],_0x226aaa[_0x32448e(0xc8)])?_0x1c42a7=_0x5916da[_0x32448e(0x10c)]():logger[_0x32448e(0x85)](_0x226aaa[_0x32448e(0xe1)]);let _0x275abd=null,_0xa8873c=null,_0x4386cc=null,_0x32610c=_0x226aaa[_0x32448e(0xc9)];if(_0x5916da[_0x32448e(0x70)][_0x32448e(0xdc)]()||global[_0x32448e(0xdd)]){let _0xad4017=null;_0x226aaa[_0x32448e(0xe5)](nestedKeyValue,_0x5916da,[_0x226aaa[_0x32448e(0x111)],_0x226aaa['HxRHj']])?_0xad4017=_0x5916da[_0x32448e(0xee)][_0x32448e(0x104)]:_0xad4017=_0x226aaa[_0x32448e(0xff)](nestedKeyValue,_0x2228f3,[_0x226aaa[_0x32448e(0xf9)],_0x226aaa[_0x32448e(0xcf)],_0x226aaa[_0x32448e(0xf5)]]);const _0x1f20bf=_0x4b19b1||_0xad4017&&_0xad4017[_0x32448e(0xdb)];_0x1f20bf&&(_0x32610c=_0x226aaa[_0x32448e(0xe9)](getCloudProviderFromWsEndpoint,_0x1f20bf),_0x226aaa[_0x32448e(0xa5)](_0x32610c,_0x226aaa[_0x32448e(0x7c)])&&(_0x4386cc=constants['ATS_WSS_URL_REGEX'][_0x32448e(0xc0)](_0x1f20bf)?_0x226aaa[_0x32448e(0x8f)]:_0x226aaa[_0x32448e(0xe6)],_0x634b2f=_0x226aaa[_0x32448e(0xe9)](getBrowserFromWSEndpoint,_0x1f20bf)||_0x634b2f,_0x275abd=_0x223cf1[_0x32448e(0x102)][_0x32448e(0x7f)],_0xa8873c=_0x223cf1['currentSessionDetails'][_0x32448e(0xb6)]));}else{_0x2228f3&&_0x2228f3['project']['use'][_0x32448e(0xd0)]?_0x634b2f=_0x226aaa[_0x32448e(0xd6)](getBrowserNameFromChannel,_0x2228f3[_0x32448e(0x9b)]['use'][_0x32448e(0xd0)]):_0x634b2f=_0x226aaa[_0x32448e(0x80)](_0x226aaa['DoTzK'],_0x634b2f['toLowerCase']());const _0x7e3b9f=await _0x226aaa['TCoFQ'](getPlatformDetails);_0x275abd=_0x7e3b9f[_0x32448e(0x93)],_0xa8873c=_0x7e3b9f[_0x32448e(0xd4)];}const _0x5e6852={};_0x5e6852[_0x32448e(0xfc)]=_0x634b2f,_0x5e6852[_0x32448e(0xaf)]=_0x1cde32,_0x5e6852[_0x32448e(0x100)]={},_0x5e6852[_0x32448e(0x7f)]=_0x275abd,_0x5e6852[_0x32448e(0xb6)]=_0xa8873c,_0x5e6852[_0x32448e(0xf3)]=_0x4386cc;const _0x35ee27=_0x5e6852;_0x1c42a7&&(_0x35ee27[_0x32448e(0x100)][_0x32448e(0xe0)]=_0x1c42a7);const _0x35cf6e={};_0x35cf6e[_0x32448e(0xb5)]=_0x32610c,_0x223cf1['currentSessionDetails']=Object[_0x32448e(0x72)]({},_0x223cf1[_0x32448e(0x102)],_0x35cf6e,_0x35ee27);},_0x226aaa[_0x47ab25(0x82)])(_0x9b3f58,_0x401f76,_0x580db5);}static['patch'](){const _0x2f93e2=a43_0x245944;this['patchConnection'](),this[_0x2f93e2(0xf0)]();}static[a43_0x245944(0xab)](){const _0x117100=a43_0x245944,_0x34609d={'uqjcH':function(_0x204b08,_0x46aaaa,_0xbb06ba){return _0x204b08(_0x46aaaa,_0xbb06ba);},'fAvsV':_0x117100(0xb1),'nNKgQ':_0x117100(0x6e),'lflEF':_0x117100(0xec),'YlFOu':function(_0x3019f0,_0x2f439f,_0x3bfd3f){return _0x3019f0(_0x2f439f,_0x3bfd3f);},'sLfPT':_0x117100(0xad),'gONMl':_0x117100(0xc5),'JmTwo':function(_0x23dd31,_0x4b4ca4){return _0x23dd31===_0x4b4ca4;},'IsRVd':_0x117100(0xbe),'TZFJj':function(_0x4b3729,_0x502d4f,_0x5a3d87,_0x5190cd){return _0x4b3729(_0x502d4f,_0x5a3d87,_0x5190cd);},'DRndb':function(_0x3c8248,_0x3de48c){return _0x3c8248(_0x3de48c);},'IsIZI':'lib','bpmwG':_0x117100(0xd1),'FdrUH':_0x117100(0x98),'JfMxO':_0x117100(0x110),'ecBCp':function(_0x97cb9d,_0x15d0d4){return _0x97cb9d(_0x15d0d4);},'NIHvM':function(_0x47e060,_0x79ab6d){return _0x47e060!=_0x79ab6d;},'IEJCF':function(_0x5e4b77){return _0x5e4b77();},'hbtoA':_0x117100(0x76),'mLCRj':function(_0x30f308,_0x72183d){return _0x30f308(_0x72183d);},'djGgN':_0x117100(0xa0),'hXuwi':function(_0x4b67ea,_0x33c538){return _0x4b67ea(_0x33c538);}},_0x2f6296=this;if(!this[_0x117100(0xfd)])try{const _0x1814da=path[_0x117100(0x86)](_0x34609d[_0x117100(0x114)],_0x34609d[_0x117100(0xc3)],_0x34609d['FdrUH']),_0x4a28d3=_0x34609d[_0x117100(0x8d)](importFileFromPWCore,_0x1814da);!_0x4a28d3?_0x34609d['DRndb'](debug,_0x34609d['JfMxO']):this['Connection']=_0x4a28d3['Connection'];}catch(_0x6a2d40){_0x34609d[_0x117100(0xac)](debug,_0x117100(0xc2)+_0x6a2d40['toString']());}const _0x22506e=this['Connection'];try{if(_0x34609d[_0x117100(0x79)](_0x22506e,null)){const _0x11a6e6=_0x22506e[_0x117100(0xa1)][_0x117100(0xa0)],_0x484561=_0x22506e[_0x117100(0xa1)][_0x117100(0x76)];_0x34609d[_0x117100(0x89)](isAccessibilityAutomationSession)&&Object[_0x117100(0xa7)](_0x22506e['prototype'],_0x34609d[_0x117100(0x91)],{'get':function(){return async function(){const _0x18c6b2=a43_0x4c88;try{if(!global[_0x18c6b2(0xa6)]&&global[_0x18c6b2(0xdd)]&&_0x34609d[_0x18c6b2(0xfa)](nestedKeyValue,global[_0x18c6b2(0xad)],[_0x34609d[_0x18c6b2(0x95)],_0x34609d['nNKgQ'],_0x34609d['lflEF']])&&_0x34609d['YlFOu'](shouldScanTestForAccessibility,global[_0x18c6b2(0xad)][_0x18c6b2(0xb1)]['testInfo'][_0x18c6b2(0xec)],!![])&&scripts[_0x18c6b2(0xcb)](arguments[0x1])){logger['debug'](_0x18c6b2(0x9c)+arguments[0x1]),global[_0x18c6b2(0xa6)]=!![];const _0x1cb9a0=_0x34609d[_0x18c6b2(0xb3)](nestedKeyValue,global,[_0x34609d[_0x18c6b2(0xfb)],_0x34609d[_0x18c6b2(0xb8)]]),_0x271ed1={};_0x271ed1[_0x18c6b2(0xdf)]=arguments[0x1],_0x1cb9a0&&logger[_0x18c6b2(0x85)](util[_0x18c6b2(0x99)](await AccessibilityHelper[_0x18c6b2(0x113)](_0x1cb9a0,_0x271ed1)));if(_0x34609d[_0x18c6b2(0x81)](arguments[0x0]['_type'],_0x34609d[_0x18c6b2(0x74)])&&global[_0x18c6b2(0xf1)]){const _0x3c6645={};_0x3c6645[_0x18c6b2(0xdf)]=arguments[0x1],await _0x34609d[_0x18c6b2(0x9a)](browserStackExecuteDriver,global[_0x18c6b2(0xf1)],scripts[_0x18c6b2(0x113)],_0x3c6645);}}}catch(_0x467fc1){logger['debug'](_0x18c6b2(0xe7)+util[_0x18c6b2(0x99)](_0x467fc1));}return global[_0x18c6b2(0xa6)]=![],_0x484561[_0x18c6b2(0x105)](this,arguments);};}}),!_0x34609d[_0x117100(0xa2)](isFalse,process[_0x117100(0xca)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x117100(0xa7)](_0x22506e[_0x117100(0xa1)],_0x34609d[_0x117100(0x77)],{'get':function(){return function _0x5df826(_0x36456e){const _0x50948b=a43_0x4c88,_0x1ce61c=_0x36456e&&_0x36456e[_0x50948b(0x90)]&&_0x36456e[_0x50948b(0x90)][_0x50948b(0xc1)];if(_0x1ce61c){const _0x31bcd2=_0x1ce61c[_0x50948b(0xce)],_0x4e81af=_0x1ce61c['platformDetails'];_0x4e81af&&(_0x34609d[_0x50948b(0x8d)](debug,_0x50948b(0x112)+_0x4e81af[_0x50948b(0xba)]()),_0x2f6296[_0x50948b(0x102)][_0x50948b(0x7f)]=_0x4e81af['platformName'],_0x2f6296[_0x50948b(0x102)][_0x50948b(0xb6)]=_0x4e81af['platformVersion']),_0x31bcd2&&(_0x34609d[_0x50948b(0x8d)](debug,_0x50948b(0xc7)+_0x31bcd2),_0x2f6296[_0x50948b(0x102)]['bsSessionId']=_0x31bcd2);}return _0x11a6e6['apply'](this,arguments);};}});}}catch(_0x2fa132){_0x34609d[_0x117100(0xe2)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x2fa132),_0x2f6296[_0x117100(0xf4)]=_0x2fa132[_0x117100(0xba)]();}}static[a43_0x245944(0xf0)](){const _0x205397=a43_0x245944,_0x239790={'OQeTl':function(_0x11cf01,_0x179d0d){return _0x11cf01(_0x179d0d);},'NrSrq':function(_0x356233,_0x38c7b2){return _0x356233(_0x38c7b2);},'QgwhE':function(_0x16d7c1,_0x2f6d38){return _0x16d7c1(_0x2f6d38);},'JSviO':function(_0x54c068){return _0x54c068();},'SdTdF':'lib','hQDJg':'server','yOnMv':'chromium','AegoQ':'crConnection.js','lyfDX':_0x205397(0x78),'bwGQX':'Error\x20in\x20importing\x20crConnection','WImgT':function(_0x4fdfa4,_0x34ea23){return _0x4fdfa4!=_0x34ea23;},'zXuxW':'_onMessage'},_0x2e90ce=this;if(_0x239790['JSviO'](isAccessibilityAutomationSession)){let _0x26dd3b=null;try{const _0x5271b7=path[_0x205397(0x86)](_0x239790[_0x205397(0x8b)],_0x239790[_0x205397(0xe8)],_0x239790['yOnMv'],_0x239790['AegoQ']),_0x3e1c84=_0x239790[_0x205397(0x71)](importFileFromPWCore,_0x5271b7);!_0x3e1c84?_0x239790[_0x205397(0x71)](debug,_0x239790[_0x205397(0xb0)]):_0x26dd3b=_0x3e1c84['CRConnection'];}catch(_0x56addf){_0x239790[_0x205397(0x71)](debug,_0x239790[_0x205397(0xb9)]);}try{if(_0x239790[_0x205397(0x73)](_0x26dd3b,null)){const _0x3f8af8=_0x26dd3b['prototype'][_0x205397(0x83)];Object[_0x205397(0xa7)](_0x26dd3b['prototype'],_0x239790['zXuxW'],{'get':function(){return function _0x34a724(_0x441dfe){const _0x58b590=a43_0x4c88;try{const _0x377dcb=_0x441dfe[_0x58b590(0xb4)];if(_0x377dcb){delete _0x441dfe[_0x58b590(0xb4)];const _0x2f1ed1=_0x377dcb[_0x58b590(0xce)],_0x27c5dd=_0x377dcb['platformDetails'];_0x27c5dd&&(_0x239790[_0x58b590(0x8a)](debug,_0x58b590(0x96)+_0x27c5dd[_0x58b590(0xba)]()),_0x2e90ce[_0x58b590(0x102)][_0x58b590(0x7f)]=_0x27c5dd['platformName'],_0x2e90ce[_0x58b590(0x102)][_0x58b590(0xb6)]=_0x27c5dd['platformVersion']),_0x2f1ed1&&(_0x239790['NrSrq'](debug,_0x58b590(0xaa)+_0x2f1ed1),_0x2e90ce[_0x58b590(0x102)][_0x58b590(0xf6)]=_0x2f1ed1);}}catch(_0x3b8f0e){_0x239790[_0x58b590(0x103)](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x3b8f0e[_0x58b590(0xba)]());}return _0x3f8af8[_0x58b590(0x105)](this,arguments);};}});}}catch(_0x3a1f84){_0x239790[_0x205397(0x8a)](debug,_0x205397(0xf2)+_0x3a1f84),_0x2e90ce['sessionError']=_0x3a1f84['toString']();}}}static['getDetails'](){return this['currentSessionDetails'];}}module['exports']=PlaywrightSessionDetails;
|
|
1
|
+
const a43_0xb04031=a43_0x57ec;(function(_0x34c865,_0x3c25f3){const _0x964ffe=a43_0x57ec,_0x1db24c=_0x34c865();while(!![]){try{const _0x3250d1=parseInt(_0x964ffe(0x1c9))/0x1*(-parseInt(_0x964ffe(0x1d1))/0x2)+parseInt(_0x964ffe(0x1b1))/0x3+parseInt(_0x964ffe(0x172))/0x4+-parseInt(_0x964ffe(0x1a1))/0x5+-parseInt(_0x964ffe(0x1e6))/0x6*(-parseInt(_0x964ffe(0x17a))/0x7)+parseInt(_0x964ffe(0x191))/0x8+parseInt(_0x964ffe(0x1c7))/0x9;if(_0x3250d1===_0x3c25f3)break;else _0x1db24c['push'](_0x1db24c['shift']());}catch(_0x548bfc){_0x1db24c['push'](_0x1db24c['shift']());}}}(a43_0x40cb,0xebfa9));function a43_0x40cb(){const _0xe95d24=['PtzrD','kgfpo','fKniY','browser','_defaultConnectOptions','Pcwdr','HFiIK','parse','params','GOBDe','NcoBH','AiqVp','url','ATS_WSS_URL_REGEX','project','qypyD','apply','winstonLogger','ydYvW','testInfo','currentSessionDetails','client','browserstack.com','XcnWu','vQMIL','format','unknown_grid','pwPage','_connection','../../helpers/accessibility-automation/scripts','function','VQYum','JGEIi','server','RBJrU','Ogkpl','platformDetails','browser_version','Error\x20in\x20importing\x20crConnection','../../helpers/helper','uKrll','zTbSw','RfoMU','platform_version','7094336nKLTgO','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','bsParams','platform','Error\x20in\x20finding\x20platform\x20details\x20','env','performScan','automate','42574KEAxvN','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','edge','platformVersion','nFhvr','local_grid','ujttx','query','product','debug','util','turboscale','exports','boCPs','connectOptions','giCNj','join','shouldWrapCommand','accessibilityPlatform','aoBdK','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/test-observability/utils','__driver','3412224UCjSls','ouwLe','zfhIu','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','titlePath','bStackParams','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','QVRKD','./accessibility-helper','bstackPerformA11yScan','browserName','cloudProvider','DWAkS','platformName','ercuU','setupBrowserDetails','8895125EWkAoM','getDetails','kNThP','Gteft','browserstack-ats.com','caps','_browserType','test','Efnqs','toString','xPpiL','ToCCq','bsSessionId','iDSnC','nCFgZ','ZmPsT','992829xzgglp','includes','dispatch','YSuSV','use','patch','FOqGU','DROkV','isRemote','Error\x20in\x20importing\x20connection\x20','__workerDetails','../utils/constants','QGEJe','method','sessionError','mvrjv','Device\x20Model\x20is\x20not\x20available','defineProperty','Not\x20able\x20to\x20import\x20crConnection','version','path','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','7684236SYvEus','qaSIi','925119YMuHKc','xbkzb','lib','channel','prototype','model','WNuvL','Connection','2rxVHUv','jeuYj','AUgdv','../../helpers/logger','_name','LFcuX','sessionId','browserstack','mxKKH','DEYIr','sendMessageToServer','OxDTR','MEEWN','chrome','_type','eRyBx','YqdWX','AOxqJ','PqvTY','_onMessage','Failed\x20to\x20perform\x20scan\x20','282abxEpO','capabilities','deviceModel','kpyVg','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','patchCRConnection','CRConnection','patchConnection'];a43_0x40cb=function(){return _0xe95d24;};return a43_0x40cb();}function a43_0x57ec(_0x433950,_0x1ac22e){const _0x40cb05=a43_0x40cb();return a43_0x57ec=function(_0x57ec7f,_0x37dae1){_0x57ec7f=_0x57ec7f-0x16f;let _0x121bf6=_0x40cb05[_0x57ec7f];return _0x121bf6;},a43_0x57ec(_0x433950,_0x1ac22e);}const path=require(a43_0xb04031(0x1c5)),url=require(a43_0xb04031(0x1fa)),util=require(a43_0xb04031(0x184)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a43_0xb04031(0x215)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require(a43_0xb04031(0x18f)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),logger=require(a43_0xb04031(0x1d4))[a43_0xb04031(0x1ff)],scripts=require(a43_0xb04031(0x20b)),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require(a43_0xb04031(0x199)),constants=require(a43_0xb04031(0x1bc)),getBrowserNameFromChannel=_0x4ee454=>{const _0x41d9d5=a43_0xb04031,_0x462d80={};_0x462d80[_0x41d9d5(0x19d)]=_0x41d9d5(0x1de),_0x462d80['nCFgZ']=_0x41d9d5(0x17c),_0x462d80[_0x41d9d5(0x1b4)]='firefox',_0x462d80[_0x41d9d5(0x1dd)]='safari';const _0x374a6e=_0x462d80;if(_0x4ee454['includes'](_0x374a6e[_0x41d9d5(0x19d)]))return _0x374a6e[_0x41d9d5(0x19d)];if(_0x4ee454[_0x41d9d5(0x1b2)](_0x374a6e[_0x41d9d5(0x1af)]))return _0x374a6e[_0x41d9d5(0x1af)];if(_0x4ee454[_0x41d9d5(0x1b2)](_0x374a6e[_0x41d9d5(0x1b4)]))return _0x374a6e[_0x41d9d5(0x1b4)];if(_0x4ee454[_0x41d9d5(0x1b2)](_0x374a6e['MEEWN']))return _0x374a6e[_0x41d9d5(0x1dd)];},getBrowserFromWSEndpoint=_0x482cbe=>{const _0x535abb=a43_0xb04031,_0x97997={'lwupt':_0x535abb(0x1de),'zRUpg':function(_0x291301,_0xdc37e2){return _0x291301(_0xdc37e2);}};try{const _0x3af1e2=url[_0x535abb(0x1f5)](_0x482cbe),_0x11c0db=new URLSearchParams(_0x3af1e2[_0x535abb(0x181)]),_0x46ce4a=Object['fromEntries'](_0x11c0db['entries']()),_0x10827c=JSON[_0x535abb(0x1f5)](_0x46ce4a[_0x535abb(0x1a6)]);if(_0x10827c&&(_0x10827c[_0x535abb(0x1f1)]||_0x10827c[_0x535abb(0x19b)]))return _0x10827c[_0x535abb(0x1f1)]||_0x10827c[_0x535abb(0x19b)];return _0x97997['lwupt'];}catch(_0x3e4756){_0x97997['zRUpg'](debug,_0x535abb(0x1ea)+_0x3e4756[_0x535abb(0x1aa)]());}},getCloudProviderFromWsEndpoint=_0x3b8b6c=>{const _0x118fa8=a43_0xb04031,_0xa1d406={};_0xa1d406['AOxqJ']=_0x118fa8(0x204),_0xa1d406[_0x118fa8(0x206)]=_0x118fa8(0x1a5),_0xa1d406['WYPsw']=_0x118fa8(0x1d8),_0xa1d406[_0x118fa8(0x1bd)]=_0x118fa8(0x208);const _0x1e22b0=_0xa1d406;if(_0x3b8b6c[_0x118fa8(0x1b2)](_0x1e22b0[_0x118fa8(0x1e2)])||_0x3b8b6c[_0x118fa8(0x1b2)](_0x1e22b0[_0x118fa8(0x206)]))return _0x1e22b0['WYPsw'];return _0x1e22b0[_0x118fa8(0x1bd)];},a43_0x1d54c7={};a43_0x1d54c7[a43_0xb04031(0x19c)]=undefined,a43_0x1d54c7['bsSessionId']=undefined,a43_0x1d54c7[a43_0xb04031(0x1f1)]=undefined,a43_0x1d54c7[a43_0xb04031(0x213)]=undefined,a43_0x1d54c7[a43_0xb04031(0x175)]=undefined,a43_0x1d54c7['platform_version']=undefined,a43_0x1d54c7['product']=undefined,a43_0x1d54c7['capabilities']={};class PlaywrightSessionDetails{static [a43_0xb04031(0x202)]=a43_0x1d54c7;constructor(){const _0x1a295c=a43_0xb04031,_0x39b242={};_0x39b242[_0x1a295c(0x216)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x31cbd9=_0x39b242;throw new Error(_0x31cbd9[_0x1a295c(0x216)]);}static ['sessionError']=null;static['setupBrowserDetails'](_0x32f4f4,_0x59694b,_0xa9d33a=null){const _0x18db03=a43_0xb04031,_0x22e920={'EPQHu':function(_0x5e5422,_0x1d429c){return _0x5e5422===_0x1d429c;},'Pcwdr':_0x18db03(0x20c),'fKniY':_0x18db03(0x173),'giCNj':function(_0x4dd1e6,_0x13431f){return _0x4dd1e6===_0x13431f;},'XcnWu':_0x18db03(0x1c1),'IVScj':_0x18db03(0x17f),'PqvTY':function(_0x3aa848,_0x183893,_0x424d97){return _0x3aa848(_0x183893,_0x424d97);},'DROkV':_0x18db03(0x1a7),'NubJo':'_defaultConnectOptions','lRqsv':_0x18db03(0x1fc),'HFiIK':'use','OxDTR':_0x18db03(0x188),'YqdWX':function(_0x2b9bbc,_0x566db4){return _0x2b9bbc(_0x566db4);},'oIKLr':function(_0x360841,_0x348906){return _0x360841===_0x348906;},'CFtZu':'browserstack','iDSnC':_0x18db03(0x185),'NcoBH':_0x18db03(0x179),'LFcuX':function(_0x3898ea,_0x57e0e5){return _0x3898ea(_0x57e0e5);},'boCPs':function(_0x54439a,_0x2737f4){return _0x54439a+_0x2737f4;},'kpyVg':'playwright-','nFhvr':function(_0x1c308c){return _0x1c308c();},'VQYum':_0x18db03(0x1a0)},_0x143217=this;return _0x22e920[_0x18db03(0x1e3)](o11yErrorHandler,async function _0x5acb29(_0xfe098b,_0x45ae2f,_0x5a39d1=null){const _0x1e4f41=_0x18db03;let _0xcc17a6=_0xfe098b[_0x1e4f41(0x1d5)],_0x1c56fc=null;_0xfe098b&&_0x22e920['EPQHu'](typeof _0xfe098b[_0x1e4f41(0x1c4)],_0x22e920[_0x1e4f41(0x1f3)])?_0x1c56fc=_0xfe098b['version']():logger[_0x1e4f41(0x183)](_0x22e920[_0x1e4f41(0x1f0)]);let _0x3b79f2=null;_0xfe098b&&_0x22e920[_0x1e4f41(0x189)](typeof _0xfe098b['model'],_0x22e920[_0x1e4f41(0x1f3)])?_0x3b79f2=_0xfe098b[_0x1e4f41(0x1ce)]():logger['debug'](_0x22e920[_0x1e4f41(0x205)]);let _0x2ee69b=null,_0x3db110=null,_0x5a309e=null,_0x22745e=_0x22e920['IVScj'];if(_0xfe098b[_0x1e4f41(0x20a)][_0x1e4f41(0x1b9)]()||global[_0x1e4f41(0x18c)]){let _0x4a33de=null;_0x22e920[_0x1e4f41(0x1e3)](nestedKeyValue,_0xfe098b,[_0x22e920[_0x1e4f41(0x1b8)],_0x22e920['NubJo']])?_0x4a33de=_0xfe098b[_0x1e4f41(0x1a7)][_0x1e4f41(0x1f2)]:_0x4a33de=_0x22e920[_0x1e4f41(0x1e3)](nestedKeyValue,_0x45ae2f,[_0x22e920['lRqsv'],_0x22e920[_0x1e4f41(0x1f4)],_0x22e920[_0x1e4f41(0x1dc)]]);const _0x2f069c=_0x5a39d1||_0x4a33de&&_0x4a33de['wsEndpoint'];_0x2f069c&&(_0x22745e=_0x22e920['YqdWX'](getCloudProviderFromWsEndpoint,_0x2f069c),_0x22e920['oIKLr'](_0x22745e,_0x22e920['CFtZu'])&&(_0x5a309e=constants[_0x1e4f41(0x1fb)][_0x1e4f41(0x1a8)](_0x2f069c)?_0x22e920[_0x1e4f41(0x1ae)]:_0x22e920[_0x1e4f41(0x1f8)],_0xcc17a6=_0x22e920[_0x1e4f41(0x1d6)](getBrowserFromWSEndpoint,_0x2f069c)||_0xcc17a6,_0x2ee69b=_0x143217[_0x1e4f41(0x202)][_0x1e4f41(0x175)],_0x3db110=_0x143217[_0x1e4f41(0x202)][_0x1e4f41(0x171)]));}else{_0x45ae2f&&_0x45ae2f[_0x1e4f41(0x1fc)][_0x1e4f41(0x1b5)][_0x1e4f41(0x1cc)]?_0xcc17a6=_0x22e920[_0x1e4f41(0x1e1)](getBrowserNameFromChannel,_0x45ae2f[_0x1e4f41(0x1fc)][_0x1e4f41(0x1b5)]['channel']):_0xcc17a6=_0x22e920[_0x1e4f41(0x187)](_0x22e920[_0x1e4f41(0x1e9)],_0xcc17a6['toLowerCase']());const _0x517012=await _0x22e920[_0x1e4f41(0x17e)](getPlatformDetails);_0x2ee69b=_0x517012[_0x1e4f41(0x19e)],_0x3db110=_0x517012[_0x1e4f41(0x17d)];}const _0x1787ac={};_0x1787ac['browser']=_0xcc17a6,_0x1787ac[_0x1e4f41(0x213)]=_0x1c56fc,_0x1787ac[_0x1e4f41(0x1e7)]={},_0x1787ac['platform']=_0x2ee69b,_0x1787ac[_0x1e4f41(0x171)]=_0x3db110,_0x1787ac[_0x1e4f41(0x182)]=_0x5a309e;const _0x20d288=_0x1787ac;_0x3b79f2&&(_0x20d288[_0x1e4f41(0x1e7)][_0x1e4f41(0x1e8)]=_0x3b79f2);const _0x4e4b76={};_0x4e4b76[_0x1e4f41(0x19c)]=_0x22745e,_0x143217[_0x1e4f41(0x202)]=Object['assign']({},_0x143217[_0x1e4f41(0x202)],_0x4e4b76,_0x20d288);},_0x22e920[_0x18db03(0x20d)])(_0x32f4f4,_0x59694b,_0xa9d33a);}static[a43_0xb04031(0x1b6)](){const _0xa51e85=a43_0xb04031;this[_0xa51e85(0x1ed)](),this[_0xa51e85(0x1eb)]();}static[a43_0xb04031(0x1ed)](){const _0x4e4d6c=a43_0xb04031,_0xe495dc={'ercuU':function(_0x366eab,_0x2951d9,_0x196658){return _0x366eab(_0x2951d9,_0x196658);},'ydYvW':'currentTest','lOuWV':_0x4e4d6c(0x201),'Efnqs':_0x4e4d6c(0x195),'aoBdK':'__workerDetails','xbkzb':_0x4e4d6c(0x209),'FOqGU':function(_0x5266d1,_0x12b998){return _0x5266d1===_0x12b998;},'kgfpo':'Page','DEYIr':function(_0x6f5c96,_0x3f9b9c,_0x49c6a5,_0x5e7f4d){return _0x6f5c96(_0x3f9b9c,_0x49c6a5,_0x5e7f4d);},'RfoMU':function(_0x4381d3,_0x47e531){return _0x4381d3(_0x47e531);},'JGEIi':'lib','ToCCq':_0x4e4d6c(0x203),'PtzrD':'connection.js','ihBpy':'Not\x20able\x20to\x20import\x20Connection','ouwLe':function(_0x45731b,_0x375fc4){return _0x45731b!=_0x375fc4;},'jeuYj':function(_0x1ec278){return _0x1ec278();},'RBJrU':_0x4e4d6c(0x1db),'GOBDe':function(_0x4bf8ed,_0x12811a){return _0x4bf8ed(_0x12811a);},'kNThP':'dispatch','MuhNS':function(_0x497089,_0x1ca4da){return _0x497089(_0x1ca4da);}},_0x358061=this;if(!this['Connection'])try{const _0x51d408=path[_0x4e4d6c(0x18a)](_0xe495dc[_0x4e4d6c(0x20e)],_0xe495dc[_0x4e4d6c(0x1ac)],_0xe495dc[_0x4e4d6c(0x1ee)]),_0x22c531=_0xe495dc[_0x4e4d6c(0x170)](importFileFromPWCore,_0x51d408);!_0x22c531?_0xe495dc['RfoMU'](debug,_0xe495dc['ihBpy']):this['Connection']=_0x22c531[_0x4e4d6c(0x1d0)];}catch(_0xdc1de7){_0xe495dc[_0x4e4d6c(0x170)](debug,_0x4e4d6c(0x1ba)+_0xdc1de7['toString']());}const _0x18e314=this[_0x4e4d6c(0x1d0)];try{if(_0xe495dc[_0x4e4d6c(0x192)](_0x18e314,null)){const _0x3df506=_0x18e314['prototype'][_0x4e4d6c(0x1b3)],_0x29c916=_0x18e314['prototype'][_0x4e4d6c(0x1db)];_0xe495dc[_0x4e4d6c(0x1d2)](isAccessibilityAutomationSession)&&Object[_0x4e4d6c(0x1c2)](_0x18e314[_0x4e4d6c(0x1cd)],_0xe495dc[_0x4e4d6c(0x210)],{'get':function(){const _0x1dd9f7=_0x4e4d6c,_0x523869={'eRyBx':function(_0x13a7b3,_0x38acb2,_0x47ac18){const _0x271a72=a43_0x57ec;return _0xe495dc[_0x271a72(0x19f)](_0x13a7b3,_0x38acb2,_0x47ac18);},'Ogkpl':_0xe495dc[_0x1dd9f7(0x200)],'zfhIu':_0xe495dc['lOuWV'],'wSjGs':_0xe495dc[_0x1dd9f7(0x1a9)],'mvrjv':function(_0x539a57,_0x1e2b4b,_0x5308dc){const _0x9e64bf=_0x1dd9f7;return _0xe495dc[_0x9e64bf(0x19f)](_0x539a57,_0x1e2b4b,_0x5308dc);},'QVRKD':_0xe495dc[_0x1dd9f7(0x18d)],'xPpiL':_0xe495dc[_0x1dd9f7(0x1ca)],'zTbSw':function(_0x336b40,_0x41dc0f){const _0x2dc168=_0x1dd9f7;return _0xe495dc[_0x2dc168(0x1b7)](_0x336b40,_0x41dc0f);},'ZmPsT':_0xe495dc[_0x1dd9f7(0x1ef)],'qaSIi':function(_0x37f50a,_0x456ecf,_0x52ee2e,_0x247082){const _0x1d266d=_0x1dd9f7;return _0xe495dc[_0x1d266d(0x1da)](_0x37f50a,_0x456ecf,_0x52ee2e,_0x247082);}};return async function(){const _0x24edf6=_0x1dd9f7;try{if(!global[_0x24edf6(0x19a)]&&global[_0x24edf6(0x18c)]&&_0x523869[_0x24edf6(0x1e0)](nestedKeyValue,global[_0x24edf6(0x1bb)],[_0x523869[_0x24edf6(0x211)],_0x523869[_0x24edf6(0x193)],_0x523869['wSjGs']])&&_0x523869[_0x24edf6(0x1c0)](shouldScanTestForAccessibility,global[_0x24edf6(0x1bb)]['currentTest']['testInfo']['titlePath'],!![])&&scripts[_0x24edf6(0x18b)](arguments[0x1])){logger['debug']('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x24edf6(0x19a)]=!![];const _0x215b41=_0x523869[_0x24edf6(0x1e0)](nestedKeyValue,global,[_0x523869[_0x24edf6(0x198)],_0x523869[_0x24edf6(0x1ab)]]),_0x28a8a8={};_0x28a8a8[_0x24edf6(0x1be)]=arguments[0x1],_0x215b41&&logger[_0x24edf6(0x183)](util[_0x24edf6(0x207)](await AccessibilityHelper['performScan'](_0x215b41,_0x28a8a8)));if(_0x523869[_0x24edf6(0x16f)](arguments[0x0][_0x24edf6(0x1df)],_0x523869[_0x24edf6(0x1b0)])&&global[_0x24edf6(0x190)]){const _0x3171a2={};_0x3171a2[_0x24edf6(0x1be)]=arguments[0x1],await _0x523869[_0x24edf6(0x1c8)](browserStackExecuteDriver,global['__driver'],scripts[_0x24edf6(0x178)],_0x3171a2);}}}catch(_0x4d2176){logger[_0x24edf6(0x183)](_0x24edf6(0x1e5)+util[_0x24edf6(0x207)](_0x4d2176));}return global['bstackPerformA11yScan']=![],_0x29c916[_0x24edf6(0x1fe)](this,arguments);};}}),!_0xe495dc[_0x4e4d6c(0x1f7)](isFalse,process[_0x4e4d6c(0x177)][_0x4e4d6c(0x18e)])&&Object[_0x4e4d6c(0x1c2)](_0x18e314[_0x4e4d6c(0x1cd)],_0xe495dc[_0x4e4d6c(0x1a3)],{'get':function(){const _0x10468f={'BEpfZ':function(_0x11653f,_0x51ec09){const _0xe92bab=a43_0x57ec;return _0xe495dc[_0xe92bab(0x170)](_0x11653f,_0x51ec09);},'COAyt':function(_0x32bcdc,_0x497d4b){const _0x4f42e5=a43_0x57ec;return _0xe495dc[_0x4f42e5(0x170)](_0x32bcdc,_0x497d4b);}};return function _0x2aac61(_0x58e788){const _0x2902d9=a43_0x57ec,_0x1e75bd=_0x58e788&&_0x58e788[_0x2902d9(0x1f6)]&&_0x58e788[_0x2902d9(0x1f6)][_0x2902d9(0x174)];if(_0x1e75bd){const _0x2c9b82=_0x1e75bd['sessionId'],_0x28d44c=_0x1e75bd[_0x2902d9(0x212)];_0x28d44c&&(_0x10468f['BEpfZ'](debug,_0x2902d9(0x194)+_0x28d44c[_0x2902d9(0x1aa)]()),_0x358061[_0x2902d9(0x202)][_0x2902d9(0x175)]=_0x28d44c[_0x2902d9(0x19e)],_0x358061[_0x2902d9(0x202)][_0x2902d9(0x171)]=_0x28d44c[_0x2902d9(0x17d)]),_0x2c9b82&&(_0x10468f['COAyt'](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x2c9b82),_0x358061[_0x2902d9(0x202)][_0x2902d9(0x1ad)]=_0x2c9b82);}return _0x3df506['apply'](this,arguments);};}});}}catch(_0x3ac7c7){_0xe495dc['MuhNS'](debug,_0x4e4d6c(0x17b)+_0x3ac7c7),_0x358061[_0x4e4d6c(0x1bf)]=_0x3ac7c7[_0x4e4d6c(0x1aa)]();}}static['patchCRConnection'](){const _0x2c1c7a=a43_0xb04031,_0xd439d8={'mxKKH':function(_0x2afc68,_0x31b318){return _0x2afc68(_0x31b318);},'RRtji':function(_0x2dc38c){return _0x2dc38c();},'ujttx':_0x2c1c7a(0x1cb),'qypyD':_0x2c1c7a(0x20f),'VBMXT':'chromium','NOiZb':'crConnection.js','AUgdv':_0x2c1c7a(0x1c3),'pLPZq':_0x2c1c7a(0x214),'WNuvL':function(_0x1c0dab,_0x2ebfac){return _0x1c0dab!=_0x2ebfac;},'AiqVp':_0x2c1c7a(0x1e4),'GHRNS':function(_0x560206,_0x416583){return _0x560206(_0x416583);}},_0x448a2a=this;if(_0xd439d8['RRtji'](isAccessibilityAutomationSession)){let _0x447c7c=null;try{const _0x2c0061=path['join'](_0xd439d8[_0x2c1c7a(0x180)],_0xd439d8[_0x2c1c7a(0x1fd)],_0xd439d8['VBMXT'],_0xd439d8['NOiZb']),_0x2c04c4=_0xd439d8[_0x2c1c7a(0x1d9)](importFileFromPWCore,_0x2c0061);!_0x2c04c4?_0xd439d8[_0x2c1c7a(0x1d9)](debug,_0xd439d8[_0x2c1c7a(0x1d3)]):_0x447c7c=_0x2c04c4[_0x2c1c7a(0x1ec)];}catch(_0xfbb673){_0xd439d8[_0x2c1c7a(0x1d9)](debug,_0xd439d8['pLPZq']);}try{if(_0xd439d8[_0x2c1c7a(0x1cf)](_0x447c7c,null)){const _0x311470=_0x447c7c[_0x2c1c7a(0x1cd)]['_onMessage'];Object[_0x2c1c7a(0x1c2)](_0x447c7c[_0x2c1c7a(0x1cd)],_0xd439d8[_0x2c1c7a(0x1f9)],{'get':function(){const _0x42d3fc={'Gteft':function(_0x556ced,_0x13bdf7){return _0xd439d8['mxKKH'](_0x556ced,_0x13bdf7);}};return function _0x2a2599(_0x29eee8){const _0x5505db=a43_0x57ec;try{const _0x4f08e4=_0x29eee8[_0x5505db(0x196)];if(_0x4f08e4){delete _0x29eee8[_0x5505db(0x196)];const _0x53354f=_0x4f08e4[_0x5505db(0x1d7)],_0x4632cc=_0x4f08e4['platformDetails'];_0x4632cc&&(_0x42d3fc[_0x5505db(0x1a4)](debug,_0x5505db(0x197)+_0x4632cc[_0x5505db(0x1aa)]()),_0x448a2a[_0x5505db(0x202)][_0x5505db(0x175)]=_0x4632cc[_0x5505db(0x19e)],_0x448a2a[_0x5505db(0x202)][_0x5505db(0x171)]=_0x4632cc[_0x5505db(0x17d)]),_0x53354f&&(_0x42d3fc[_0x5505db(0x1a4)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x53354f),_0x448a2a[_0x5505db(0x202)][_0x5505db(0x1ad)]=_0x53354f);}}catch(_0x40791f){_0x42d3fc['Gteft'](debug,_0x5505db(0x176)+_0x40791f[_0x5505db(0x1aa)]());}return _0x311470[_0x5505db(0x1fe)](this,arguments);};}});}}catch(_0x13a65c){_0xd439d8['GHRNS'](debug,_0x2c1c7a(0x1c6)+_0x13a65c),_0x448a2a[_0x2c1c7a(0x1bf)]=_0x13a65c[_0x2c1c7a(0x1aa)]();}}}static[a43_0xb04031(0x1a2)](){const _0x10a561=a43_0xb04031;return this[_0x10a561(0x202)];}}module[a43_0xb04031(0x186)]=PlaywrightSessionDetails;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a44_0x5c45b6=a44_0x54b1;function a44_0x54b1(_0x47e780,_0x1a7b89){const _0x5242c6=a44_0x5242();return a44_0x54b1=function(_0x54b10a,_0x88208b){_0x54b10a=_0x54b10a-0x15d;let _0x39b817=_0x5242c6[_0x54b10a];return _0x39b817;},a44_0x54b1(_0x47e780,_0x1a7b89);}(function(_0x415602,_0x2b3d84){const _0x4e801f=a44_0x54b1,_0x5371ab=_0x415602();while(!![]){try{const _0x9c863f=parseInt(_0x4e801f(0x1a2))/0x1*(-parseInt(_0x4e801f(0x1b1))/0x2)+-parseInt(_0x4e801f(0x16c))/0x3*(parseInt(_0x4e801f(0x181))/0x4)+-parseInt(_0x4e801f(0x17f))/0x5*(parseInt(_0x4e801f(0x160))/0x6)+parseInt(_0x4e801f(0x1c3))/0x7+parseInt(_0x4e801f(0x1cf))/0x8*(-parseInt(_0x4e801f(0x1aa))/0x9)+parseInt(_0x4e801f(0x162))/0xa*(parseInt(_0x4e801f(0x161))/0xb)+parseInt(_0x4e801f(0x1ae))/0xc*(parseInt(_0x4e801f(0x1cd))/0xd);if(_0x9c863f===_0x2b3d84)break;else _0x5371ab['push'](_0x5371ab['shift']());}catch(_0x517b50){_0x5371ab['push'](_0x5371ab['shift']());}}}(a44_0x5242,0xf165c));function a44_0x5242(){const _0x4cd3c2=['4457373ynIPTQ','format','uxknJ','mocha/lib/cli/run.js','dot-notation','VwvTe','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','config','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','../helpers/helper','version','amISJ','gLqgP','homedir','cucumber-js','argv','./codeceptjs/command','ASLMV','./cucumber-js/command','7895gCgAvd','HST','4NqlBOG','command','mocha/lib/cli/commands.js','TqRWv','MyBtC','existsSync','INFO','join','vCtRj','UUqcC','isUndefined','lXmxQ','.browserstack','framework','IgBxL','../helpers/performance/constants','../helpers/performance/performance-tester','start','VERSION','setBrowserStackAutomationDisable','fireFunnelTestEvent','SQswQ','--no-config','slice','--no-package','--require','unlinkSync','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','parserConfiguration','zivcs','mocha','YAWOf','LsEuw','20cnwgZI','Running\x20SDK\x20with\x20args\x20','usage:\x20$0\x20<command>\x20[args]','run','IcTQz','codeceptjs','end','smCDm','18801VxSWor','.local-not-set.json','SDK_CLEANUP','./vanilla-js/command','492CqLyge','--package','describe','18172ANuiZp','EVENTS','VkWKo','nightwatch','sGjcJ','JEST','find','error','./nightwatch/command','Parsing\x20command\x20line\x20arguements','node','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','./jest/command','startMonitoring','debug','PLAYWRIGHT','help','wdfpv','10680334DwmhLo','./mocha/command','winstonLogger','../../ats/src/index','YbplF','ats','message','NIGHTWATCH','./utils/constants','SDK_SETUP','751231vbtkcI','PBnuk','1544tsuIfK','./playwright/command','playwright','--no-opts','push','--config','findAndReplace','handler','alias','integrations','yargs','MOCHA','5340pLjyNl','5819zkmFvJ','10770oTHFtH','qRZkr','includes','../helpers/utilities','xJsKc','INTEGRATIONS','tEsRt','YBVTD','path','mocha/lib/cli/cli.js'];a44_0x5242=function(){return _0x4cd3c2;};return a44_0x5242();}const fs=require('fs'),path=require(a44_0x5c45b6(0x16a)),util=require('util'),{requireModule}=require(a44_0x5c45b6(0x175)),PerformanceTester=require(a44_0x5c45b6(0x191)),PerformanceEvents=require(a44_0x5c45b6(0x190))[a44_0x5c45b6(0x1b2)],helper=require('../helpers/helper'),utilities=require(a44_0x5c45b6(0x165)),runIntegrations=require('./integrations/command'),yargs=require(a44_0x5c45b6(0x15e)),Constants=require(a44_0x5c45b6(0x1cb)),logger=require('../helpers/logger')[a44_0x5c45b6(0x1c5)],origArgs=Object['assign']([],process[a44_0x5c45b6(0x17b)]),captureError=async(_0x3fc7b9,_0x33a6f9,_0x7503f7=null)=>{const _0xef12fd=a44_0x5c45b6,_0x4008a5={'UUqcC':function(_0x1b17f0,_0x27b002,_0x5a8e90){return _0x1b17f0(_0x27b002,_0x5a8e90);},'YbplF':'SDKTestSuccessful'};try{logger['info'](_0xef12fd(0x1a3)+origArgs[_0xef12fd(0x188)]('\x20')),await _0x4008a5[_0xef12fd(0x18a)](_0x3fc7b9,_0x33a6f9,_0x7503f7);}catch(_0x1faab4){process['exitCode']=0x1,logger[_0xef12fd(0x1b8)](util[_0xef12fd(0x16d)](_0x1faab4));const _0x26ac97={};_0x26ac97['globalException']=_0x1faab4[_0xef12fd(0x1c9)];const _0x1c5daf=_0x26ac97;PerformanceTester[_0xef12fd(0x1a8)](PerformanceEvents[_0xef12fd(0x1cc)],![],util[_0xef12fd(0x16d)](_0x1faab4));if(helper['isUndefined'](global[_0xef12fd(0x173)])&&helper[_0xef12fd(0x18b)](global[_0xef12fd(0x18e)]))return;try{utilities[_0xef12fd(0x195)](_0x4008a5[_0xef12fd(0x1c7)],_0x1c5daf,global[_0xef12fd(0x173)],global[_0xef12fd(0x18e)]);}catch(_0x252cf4){logger[_0xef12fd(0x1bf)](_0xef12fd(0x19c)+_0x252cf4['stack']);}PerformanceTester[_0xef12fd(0x1a8)](PerformanceEvents[_0xef12fd(0x1cc)],![],util[_0xef12fd(0x16d)](_0x1faab4));}finally{PerformanceTester[_0xef12fd(0x192)](PerformanceEvents[_0xef12fd(0x1ac)]);}};try{const browserstackFolderPath=path['join'](helper[a44_0x5c45b6(0x179)](),a44_0x5c45b6(0x18d));if(fs[a44_0x5c45b6(0x186)](browserstackFolderPath)){const filePath=path[a44_0x5c45b6(0x188)](browserstackFolderPath,a44_0x5c45b6(0x1ab));fs[a44_0x5c45b6(0x186)](filePath)&&fs[a44_0x5c45b6(0x19b)](filePath);}}catch(a44_0x3737d0){logger[a44_0x5c45b6(0x1bf)](a44_0x5c45b6(0x1bc)+a44_0x3737d0['message']);}process['argv']['includes'](a44_0x5c45b6(0x19f))&&(!process[a44_0x5c45b6(0x17b)][a44_0x5c45b6(0x164)]('--opts')&&process[a44_0x5c45b6(0x17b)][a44_0x5c45b6(0x1d3)](a44_0x5c45b6(0x1d2)),!process[a44_0x5c45b6(0x17b)][a44_0x5c45b6(0x1b7)](_0x1f2b06=>_0x1f2b06[a44_0x5c45b6(0x164)](a44_0x5c45b6(0x1d4)))&&process[a44_0x5c45b6(0x17b)]['push'](a44_0x5c45b6(0x197)),!process[a44_0x5c45b6(0x17b)][a44_0x5c45b6(0x164)](a44_0x5c45b6(0x1af))&&process[a44_0x5c45b6(0x17b)][a44_0x5c45b6(0x1d3)](a44_0x5c45b6(0x199)),helper[a44_0x5c45b6(0x1d5)](process[a44_0x5c45b6(0x17b)],a44_0x5c45b6(0x19a),'--mochaRequire'));PerformanceTester[a44_0x5c45b6(0x1be)](),PerformanceTester['start'](PerformanceEvents[a44_0x5c45b6(0x1cc)]);const a44_0x58ff5d={};a44_0x58ff5d[a44_0x5c45b6(0x170)]=![];const argv=yargs[a44_0x5c45b6(0x19d)](a44_0x58ff5d)['usage'](a44_0x5c45b6(0x1a4))[a44_0x5c45b6(0x1d7)]('v',a44_0x5c45b6(0x176))[a44_0x5c45b6(0x1b0)]('v')[a44_0x5c45b6(0x1d7)]('h',a44_0x5c45b6(0x1c1))[a44_0x5c45b6(0x1c1)](a44_0x5c45b6(0x1c1))['showHelpOnFail'](!![],Constants[a44_0x5c45b6(0x193)]['HELP'])[a44_0x5c45b6(0x182)]('jest',Constants[a44_0x5c45b6(0x1b6)]['INFO'],function(_0x208e73){const _0x678650=a44_0x5c45b6,_0x21ce53={'IgBxL':function(_0xd83255,_0x765aac,_0x57aa81,_0x301252){return _0xd83255(_0x765aac,_0x57aa81,_0x301252);},'IcTQz':function(_0x444816,_0x4218ad){return _0x444816(_0x4218ad);},'mrAlj':_0x678650(0x1bd)};helper['setTestObservabilityDisable'](),helper[_0x678650(0x194)]();const _0x587082=process[_0x678650(0x17b)][_0x678650(0x198)](0x2);return _0x21ce53[_0x678650(0x18f)](captureError,_0x21ce53[_0x678650(0x1a6)](require,_0x21ce53['mrAlj']),_0x208e73[_0x678650(0x17b)],_0x587082);})['command'](a44_0x5c45b6(0x19f),Constants[a44_0x5c45b6(0x15f)][a44_0x5c45b6(0x187)],_0x1ed41e=>{const _0x478c9e=a44_0x5c45b6,_0x387833={'amISJ':function(_0x42fb7f,_0xc57499,_0x388c9c){return _0x42fb7f(_0xc57499,_0x388c9c);},'smCDm':function(_0x55b18c,_0x516c56){return _0x55b18c(_0x516c56);},'MyBtC':_0x478c9e(0x1c4),'uKqNS':_0x478c9e(0x1ba),'VkWKo':function(_0x5323ba,_0x363c85,_0x20073f){return _0x5323ba(_0x363c85,_0x20073f);},'ouHzJ':_0x478c9e(0x16f),'SQswQ':_0x478c9e(0x19f),'YAWOf':function(_0x37ee0d,_0x3ec678,_0x49e460){return _0x37ee0d(_0x3ec678,_0x49e460);},'GmdMi':_0x478c9e(0x183),'uxknJ':_0x478c9e(0x16b),'zivcs':function(_0x3e6b30){return _0x3e6b30();}};logger[_0x478c9e(0x1bf)](_0x387833['uKqNS']);const _0x495d02=_0x387833[_0x478c9e(0x1b3)](requireModule,_0x387833['ouHzJ'],_0x387833['SQswQ']),_0x331caa=_0x387833[_0x478c9e(0x1a0)](requireModule,_0x387833['GmdMi'],_0x387833[_0x478c9e(0x196)]);process[_0x478c9e(0x17b)]=process[_0x478c9e(0x17b)][_0x478c9e(0x198)](0x1),delete _0x495d02[_0x478c9e(0x1d6)],_0x495d02['handler']=function(_0x1ecd84){const _0xf3a571=_0x478c9e;return _0x387833[_0xf3a571(0x177)](captureError,_0x387833[_0xf3a571(0x1a9)](require,_0x387833[_0xf3a571(0x185)]),_0x1ecd84);},_0x331caa[_0x478c9e(0x1a5)]=_0x495d02;const {main:_0x54c259}=_0x387833[_0x478c9e(0x1a0)](requireModule,_0x387833[_0x478c9e(0x16e)],_0x387833[_0x478c9e(0x196)]);_0x387833[_0x478c9e(0x19e)](_0x54c259);})['command'](a44_0x5c45b6(0x17a),Constants['CUCUMBER'][a44_0x5c45b6(0x187)],function(_0x3e64bb){const _0x521a39=a44_0x5c45b6,_0x391298={'vCtRj':function(_0x19b871,_0x402345,_0x2cba77,_0x5a0a01){return _0x19b871(_0x402345,_0x2cba77,_0x5a0a01);},'VwvTe':function(_0x5a106f,_0x4c8fe6){return _0x5a106f(_0x4c8fe6);},'BVcqv':_0x521a39(0x17e)},_0x1686b9=process[_0x521a39(0x17b)][_0x521a39(0x198)](0x2);return _0x391298[_0x521a39(0x189)](captureError,_0x391298[_0x521a39(0x171)](require,_0x391298['BVcqv']),_0x3e64bb['argv'],_0x1686b9);})['command'](a44_0x5c45b6(0x1bb),Constants['VANILLA'][a44_0x5c45b6(0x187)],function(_0x5125ff){const _0x378737=a44_0x5c45b6,_0x171a72={'YBVTD':function(_0xf5dcf7,_0x34b5c6,_0x3c8697,_0x2497bf){return _0xf5dcf7(_0x34b5c6,_0x3c8697,_0x2497bf);},'DNksp':function(_0x3e3965,_0xa2cd6a){return _0x3e3965(_0xa2cd6a);},'qRZkr':_0x378737(0x1ad)},_0x18679f=process[_0x378737(0x17b)][_0x378737(0x198)](0x2);return _0x171a72[_0x378737(0x169)](captureError,_0x171a72['DNksp'](require,_0x171a72[_0x378737(0x163)]),_0x5125ff[_0x378737(0x17b)],_0x18679f);})[a44_0x5c45b6(0x182)](a44_0x5c45b6(0x1b4),Constants[a44_0x5c45b6(0x1ca)][a44_0x5c45b6(0x187)],function(_0x5a2941){const _0x5b47d3=a44_0x5c45b6,_0x397a7f={'FGvPf':function(_0xea14e9,_0x390df9,_0x4cd60c,_0x15eff0){return _0xea14e9(_0x390df9,_0x4cd60c,_0x15eff0);},'wdfpv':function(_0x4cd4dc,_0x5d1ca9){return _0x4cd4dc(_0x5d1ca9);},'TqRWv':_0x5b47d3(0x1b9)},_0x298ccf=process[_0x5b47d3(0x17b)]['slice'](0x2);return _0x397a7f['FGvPf'](captureError,_0x397a7f[_0x5b47d3(0x1c2)](require,_0x397a7f[_0x5b47d3(0x184)]),_0x5a2941[_0x5b47d3(0x17b)],_0x298ccf);})['command'](a44_0x5c45b6(0x1a7),Constants['CODECEPTJS'][a44_0x5c45b6(0x187)],function(_0x184ddb){const _0x87628c=a44_0x5c45b6,_0x40131e={'ASLMV':function(_0x3ccacb,_0x4d3555,_0x3475c4,_0x4960dd){return _0x3ccacb(_0x4d3555,_0x3475c4,_0x4960dd);},'PBnuk':function(_0xcc82ff,_0x4b84da){return _0xcc82ff(_0x4b84da);},'lXmxQ':_0x87628c(0x17c)},_0x18bc2d=process[_0x87628c(0x17b)]['slice'](0x2);return _0x40131e[_0x87628c(0x17d)](captureError,_0x40131e[_0x87628c(0x1ce)](require,_0x40131e[_0x87628c(0x18c)]),_0x184ddb['argv'],_0x18bc2d);})['command']('ats',Constants[a44_0x5c45b6(0x180)][a44_0x5c45b6(0x187)],function(_0x3b9d7b){const _0x2619d9=a44_0x5c45b6,_0x1f9fba={'xJsKc':function(_0x4d9d04,_0x5b60ea,_0x466704){return _0x4d9d04(_0x5b60ea,_0x466704);},'sGjcJ':function(_0x32e8f9,_0x2c6b9c){return _0x32e8f9(_0x2c6b9c);},'IQbed':_0x2619d9(0x1c6)},_0x2c8428=process[_0x2619d9(0x17b)]['slice'](0x2);return _0x1f9fba[_0x2619d9(0x166)](captureError,_0x1f9fba[_0x2619d9(0x1b5)](require,_0x1f9fba['IQbed']),_0x3b9d7b);})[a44_0x5c45b6(0x182)](a44_0x5c45b6(0x15d),Constants[a44_0x5c45b6(0x167)][a44_0x5c45b6(0x187)],function(_0x58028b){const _0x356d7a=a44_0x5c45b6,_0x533945={'LsEuw':function(_0x311360,_0x273695){return _0x311360(_0x273695);}};return _0x533945[_0x356d7a(0x1a1)](runIntegrations,_0x58028b);})[a44_0x5c45b6(0x182)](a44_0x5c45b6(0x1d1),Constants[a44_0x5c45b6(0x1c0)][a44_0x5c45b6(0x187)],function(_0x250c4d){const _0x51c9f8=a44_0x5c45b6,_0x1fc9fd={'tEsRt':function(_0x1e99fb,_0x36e74b,_0x56e0e6,_0x3ac1fb){return _0x1e99fb(_0x36e74b,_0x56e0e6,_0x3ac1fb);},'IhnqE':function(_0x35b4d4,_0xf024c7){return _0x35b4d4(_0xf024c7);},'gLqgP':_0x51c9f8(0x1d0)},_0x468ef0=process[_0x51c9f8(0x17b)][_0x51c9f8(0x198)](0x2);return _0x1fc9fd[_0x51c9f8(0x168)](captureError,_0x1fc9fd['IhnqE'](require,_0x1fc9fd[_0x51c9f8(0x178)]),_0x250c4d[_0x51c9f8(0x17b)],_0x468ef0);})['demandCommand'](0x1,a44_0x5c45b6(0x172))['wrap'](null)[a44_0x5c45b6(0x17b)];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x5c45b6(0x1c8)&&console[a44_0x5c45b6(0x1b8)](a44_0x5c45b6(0x174));
|
|
2
|
+
'use strict';const a44_0x2ae1ed=a44_0x486b;(function(_0x57c096,_0x5365b3){const _0x138fa4=a44_0x486b,_0x15298f=_0x57c096();while(!![]){try{const _0x420ce2=parseInt(_0x138fa4(0x189))/0x1*(parseInt(_0x138fa4(0x1df))/0x2)+-parseInt(_0x138fa4(0x1a3))/0x3+-parseInt(_0x138fa4(0x16c))/0x4*(parseInt(_0x138fa4(0x183))/0x5)+-parseInt(_0x138fa4(0x1ab))/0x6*(parseInt(_0x138fa4(0x174))/0x7)+parseInt(_0x138fa4(0x18f))/0x8+-parseInt(_0x138fa4(0x195))/0x9*(parseInt(_0x138fa4(0x1e3))/0xa)+parseInt(_0x138fa4(0x1c9))/0xb*(parseInt(_0x138fa4(0x1cd))/0xc);if(_0x420ce2===_0x5365b3)break;else _0x15298f['push'](_0x15298f['shift']());}catch(_0x1e011e){_0x15298f['push'](_0x15298f['shift']());}}}(a44_0x3bc4,0x1dee3));function a44_0x486b(_0x496ef3,_0x2bee53){const _0x3bc443=a44_0x3bc4();return a44_0x486b=function(_0x486b34,_0x5e75ae){_0x486b34=_0x486b34-0x16a;let _0x44a76e=_0x3bc443[_0x486b34];return _0x44a76e;},a44_0x486b(_0x496ef3,_0x2bee53);}const fs=require('fs'),path=require(a44_0x2ae1ed(0x1c8)),util=require(a44_0x2ae1ed(0x1b4)),{requireModule}=require(a44_0x2ae1ed(0x171)),PerformanceTester=require(a44_0x2ae1ed(0x199)),PerformanceEvents=require('../helpers/performance/constants')[a44_0x2ae1ed(0x1b9)],helper=require(a44_0x2ae1ed(0x171)),utilities=require(a44_0x2ae1ed(0x1b2)),runIntegrations=require(a44_0x2ae1ed(0x184)),yargs=require(a44_0x2ae1ed(0x19d)),Constants=require('./utils/constants'),logger=require('../helpers/logger')[a44_0x2ae1ed(0x180)],origArgs=Object[a44_0x2ae1ed(0x1da)]([],process[a44_0x2ae1ed(0x1bd)]),captureError=async(_0x1b50c6,_0x2b8956,_0x177ac1=null)=>{const _0xbe2af3=a44_0x2ae1ed,_0xed2cf={'gkYky':function(_0xdbfc9c,_0x113051,_0x2f2656){return _0xdbfc9c(_0x113051,_0x2f2656);},'TGcNS':'SDKTestSuccessful'};try{logger[_0xbe2af3(0x16f)]('Running\x20SDK\x20with\x20args\x20'+origArgs[_0xbe2af3(0x192)]('\x20')),await _0xed2cf[_0xbe2af3(0x175)](_0x1b50c6,_0x2b8956,_0x177ac1);}catch(_0x3e1f44){process[_0xbe2af3(0x17a)]=0x1,logger[_0xbe2af3(0x1b8)](util['format'](_0x3e1f44));const _0x3ff984={};_0x3ff984['globalException']=_0x3e1f44[_0xbe2af3(0x1d4)];const _0x19fd9c=_0x3ff984;PerformanceTester[_0xbe2af3(0x1a2)](PerformanceEvents[_0xbe2af3(0x1af)],![],util[_0xbe2af3(0x1d0)](_0x3e1f44));if(helper[_0xbe2af3(0x187)](global['config'])&&helper['isUndefined'](global['framework']))return;try{utilities[_0xbe2af3(0x186)](_0xed2cf['TGcNS'],_0x19fd9c,global[_0xbe2af3(0x1db)],global[_0xbe2af3(0x19a)]);}catch(_0x572f70){logger['debug']('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x572f70[_0xbe2af3(0x1d7)]);}PerformanceTester[_0xbe2af3(0x1a2)](PerformanceEvents[_0xbe2af3(0x1af)],![],util[_0xbe2af3(0x1d0)](_0x3e1f44));}finally{PerformanceTester[_0xbe2af3(0x1a9)](PerformanceEvents[_0xbe2af3(0x1dc)]);}};try{const browserstackFolderPath=path[a44_0x2ae1ed(0x192)](helper[a44_0x2ae1ed(0x1ba)](),a44_0x2ae1ed(0x1e1));if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a44_0x2ae1ed(0x192)](browserstackFolderPath,a44_0x2ae1ed(0x197));fs[a44_0x2ae1ed(0x1a6)](filePath)&&fs['unlinkSync'](filePath);}}catch(a44_0x460970){logger[a44_0x2ae1ed(0x1aa)](a44_0x2ae1ed(0x16e)+a44_0x460970['message']);}process[a44_0x2ae1ed(0x1bd)][a44_0x2ae1ed(0x1ca)](a44_0x2ae1ed(0x188))&&(!process[a44_0x2ae1ed(0x1bd)][a44_0x2ae1ed(0x1ca)](a44_0x2ae1ed(0x1c5))&&process[a44_0x2ae1ed(0x1bd)][a44_0x2ae1ed(0x190)](a44_0x2ae1ed(0x1a4)),!process[a44_0x2ae1ed(0x1bd)][a44_0x2ae1ed(0x1dd)](_0x41a9c0=>_0x41a9c0[a44_0x2ae1ed(0x1ca)]('--config'))&&process[a44_0x2ae1ed(0x1bd)]['push'](a44_0x2ae1ed(0x1e6)),!process['argv'][a44_0x2ae1ed(0x1ca)](a44_0x2ae1ed(0x1a7))&&process['argv'][a44_0x2ae1ed(0x190)](a44_0x2ae1ed(0x178)),helper[a44_0x2ae1ed(0x1e7)](process[a44_0x2ae1ed(0x1bd)],a44_0x2ae1ed(0x1d1),a44_0x2ae1ed(0x19c)));PerformanceTester[a44_0x2ae1ed(0x1b1)](),PerformanceTester[a44_0x2ae1ed(0x1a9)](PerformanceEvents[a44_0x2ae1ed(0x1af)]);const a44_0x57c245={};function a44_0x3bc4(){const _0x999920=['QWRQf','.browserstack','../../ats/src/index','210lJnxwz','cucumber-js','setBrowserStackAutomationDisable','--no-config','findAndReplace','xxYFU','CTqdR','12GRIKsl','usage','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','info','./playwright/command','../helpers/helper','VANILLA','ats','105inqAdt','gkYky','version','ZJCtH','--no-package','WxFjb','exitCode','command','jXmTm','slice','demandCommand','eWPpR','winstonLogger','xmWri','SNSDd','348295huZElF','./integrations/command','mocha/lib/cli/run.js','fireFunnelTestEvent','isUndefined','mocha','6yNTJiL','integrations','lvouB','handler','./vanilla-js/command','SZCBj','73496TMOIcf','push','help','join','oZjXK','run','8406vXiVVk','CODECEPTJS','.local-not-set.json','describe','../helpers/performance/performance-tester','framework','PLAYWRIGHT','--mochaRequire','yargs','alias','./cucumber-js/command','INFO','./mocha/command','end','325320nXkkAA','--no-opts','parserConfiguration','existsSync','--package','./jest/command','start','debug','51396CEGKPC','XLHbe','mocha/lib/cli/cli.js','KzMci','SDK_SETUP','lsRkU','startMonitoring','../helpers/utilities','HST','util','DBeyW','rLyFF','showHelpOnFail','error','EVENTS','homedir','rnVZz','CUCUMBER','argv','mocha/lib/cli/commands.js','cidCo','playwright','NIGHTWATCH','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','IaygV','GaoVS','--opts','VERSION','node','path','488345XbjBIU','includes','jest','codeceptjs','156oFHJca','setTestObservabilityDisable','JEST','format','--require','ruCfW','vkoYr','message','DyAnN','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','stack','INTEGRATIONS','qxbCS','assign','config','SDK_CLEANUP','find','dot-notation','598WgXKvu'];a44_0x3bc4=function(){return _0x999920;};return a44_0x3bc4();}a44_0x57c245[a44_0x2ae1ed(0x1de)]=![];const argv=yargs[a44_0x2ae1ed(0x1a5)](a44_0x57c245)[a44_0x2ae1ed(0x16d)]('usage:\x20$0\x20<command>\x20[args]')[a44_0x2ae1ed(0x19e)]('v',a44_0x2ae1ed(0x176))[a44_0x2ae1ed(0x198)]('v')[a44_0x2ae1ed(0x19e)]('h',a44_0x2ae1ed(0x191))['help'](a44_0x2ae1ed(0x191))[a44_0x2ae1ed(0x1b7)](!![],Constants[a44_0x2ae1ed(0x1c6)]['HELP'])[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x1cb),Constants[a44_0x2ae1ed(0x1cf)][a44_0x2ae1ed(0x1a0)],function(_0x25f19d){const _0x1f05f5=a44_0x2ae1ed,_0x196272={'PuUnJ':function(_0x1c2c9e,_0x4c254b,_0xb630f6,_0x2b1ef2){return _0x1c2c9e(_0x4c254b,_0xb630f6,_0x2b1ef2);},'rLyFF':function(_0x1d3f26,_0x35698f){return _0x1d3f26(_0x35698f);},'cidCo':_0x1f05f5(0x1a8)};helper[_0x1f05f5(0x1ce)](),helper[_0x1f05f5(0x1e5)]();const _0x26390f=process['argv'][_0x1f05f5(0x17d)](0x2);return _0x196272['PuUnJ'](captureError,_0x196272[_0x1f05f5(0x1b6)](require,_0x196272[_0x1f05f5(0x1bf)]),_0x25f19d[_0x1f05f5(0x1bd)],_0x26390f);})[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x188),Constants['MOCHA']['INFO'],_0x4badab=>{const _0x3eb46e=a44_0x2ae1ed,_0x42af54={'ZJCtH':function(_0x593c99,_0xedb2ab,_0x3aae4d){return _0x593c99(_0xedb2ab,_0x3aae4d);},'xxYFU':function(_0x38b73d,_0x4afc13){return _0x38b73d(_0x4afc13);},'vQpGs':_0x3eb46e(0x1a1),'IaygV':'Parsing\x20command\x20line\x20arguements','lsRkU':_0x3eb46e(0x185),'SNSDd':_0x3eb46e(0x188),'DyAnN':function(_0x29c43e,_0x3a47d5,_0x5d17a4){return _0x29c43e(_0x3a47d5,_0x5d17a4);},'PMAXd':_0x3eb46e(0x1be),'lvouB':function(_0x26ccf1,_0x59f3df,_0x2d0458){return _0x26ccf1(_0x59f3df,_0x2d0458);},'GaoVS':_0x3eb46e(0x1ad),'qPzqM':function(_0x11b998){return _0x11b998();}};logger[_0x3eb46e(0x1aa)](_0x42af54[_0x3eb46e(0x1c3)]);const _0x3617bd=_0x42af54[_0x3eb46e(0x177)](requireModule,_0x42af54[_0x3eb46e(0x1b0)],_0x42af54[_0x3eb46e(0x182)]),_0x613b94=_0x42af54[_0x3eb46e(0x1d5)](requireModule,_0x42af54['PMAXd'],_0x42af54[_0x3eb46e(0x182)]);process[_0x3eb46e(0x1bd)]=process[_0x3eb46e(0x1bd)]['slice'](0x1),delete _0x3617bd[_0x3eb46e(0x18c)],_0x3617bd[_0x3eb46e(0x18c)]=function(_0x2551e0){const _0x5ef7da=_0x3eb46e;return _0x42af54[_0x5ef7da(0x177)](captureError,_0x42af54[_0x5ef7da(0x16a)](require,_0x42af54['vQpGs']),_0x2551e0);},_0x613b94[_0x3eb46e(0x194)]=_0x3617bd;const {main:_0x46ee6d}=_0x42af54[_0x3eb46e(0x18b)](requireModule,_0x42af54[_0x3eb46e(0x1c4)],_0x42af54['SNSDd']);_0x42af54['qPzqM'](_0x46ee6d);})[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x1e4),Constants[a44_0x2ae1ed(0x1bc)]['INFO'],function(_0xeb13f4){const _0xebe815=a44_0x2ae1ed,_0x5df896={'jXmTm':function(_0x20edcd,_0x5a813,_0x3f39e0,_0x1ceb8f){return _0x20edcd(_0x5a813,_0x3f39e0,_0x1ceb8f);},'rnVZz':function(_0x2bec55,_0x481ef5){return _0x2bec55(_0x481ef5);},'MQIdT':_0xebe815(0x19f)},_0x178f71=process[_0xebe815(0x1bd)][_0xebe815(0x17d)](0x2);return _0x5df896[_0xebe815(0x17c)](captureError,_0x5df896[_0xebe815(0x1bb)](require,_0x5df896['MQIdT']),_0xeb13f4[_0xebe815(0x1bd)],_0x178f71);})['command'](a44_0x2ae1ed(0x1c7),Constants[a44_0x2ae1ed(0x172)][a44_0x2ae1ed(0x1a0)],function(_0x500760){const _0x59a99e=a44_0x2ae1ed,_0x315ffe={'QWRQf':function(_0x376e1b,_0x2b28ca,_0x17d7df,_0x5cf875){return _0x376e1b(_0x2b28ca,_0x17d7df,_0x5cf875);},'KzMci':function(_0xa19b39,_0x39fc6c){return _0xa19b39(_0x39fc6c);},'XLHbe':_0x59a99e(0x18d)},_0x19e745=process['argv'][_0x59a99e(0x17d)](0x2);return _0x315ffe[_0x59a99e(0x1e0)](captureError,_0x315ffe[_0x59a99e(0x1ae)](require,_0x315ffe[_0x59a99e(0x1ac)]),_0x500760[_0x59a99e(0x1bd)],_0x19e745);})['command']('nightwatch',Constants[a44_0x2ae1ed(0x1c1)][a44_0x2ae1ed(0x1a0)],function(_0x4e8bde){const _0xfa9a36=a44_0x2ae1ed,_0x33d0f6={'oZjXK':function(_0x415e14,_0x3410e6,_0x1a17e3,_0x1917a5){return _0x415e14(_0x3410e6,_0x1a17e3,_0x1917a5);},'eWPpR':function(_0x2c28af,_0x50ecab){return _0x2c28af(_0x50ecab);},'LPBzh':'./nightwatch/command'},_0x379f5a=process[_0xfa9a36(0x1bd)][_0xfa9a36(0x17d)](0x2);return _0x33d0f6[_0xfa9a36(0x193)](captureError,_0x33d0f6[_0xfa9a36(0x17f)](require,_0x33d0f6['LPBzh']),_0x4e8bde['argv'],_0x379f5a);})[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x1cc),Constants[a44_0x2ae1ed(0x196)]['INFO'],function(_0x331fa7){const _0x4e1972=a44_0x2ae1ed,_0xe4bf8e={'qxbCS':function(_0x469fb1,_0x59037b,_0xa5f261,_0x327017){return _0x469fb1(_0x59037b,_0xa5f261,_0x327017);},'VzAzp':function(_0x1d9dd1,_0x1fdf6b){return _0x1d9dd1(_0x1fdf6b);},'KbDIj':'./codeceptjs/command'},_0x2d3b4e=process[_0x4e1972(0x1bd)][_0x4e1972(0x17d)](0x2);return _0xe4bf8e[_0x4e1972(0x1d9)](captureError,_0xe4bf8e['VzAzp'](require,_0xe4bf8e['KbDIj']),_0x331fa7['argv'],_0x2d3b4e);})[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x173),Constants[a44_0x2ae1ed(0x1b3)]['INFO'],function(_0x424cea){const _0x1d8632=a44_0x2ae1ed,_0x513216={'WxFjb':function(_0x3d4f85,_0x36e167,_0x3098d5){return _0x3d4f85(_0x36e167,_0x3098d5);},'vkoYr':function(_0x1e13ad,_0xdbfffa){return _0x1e13ad(_0xdbfffa);},'DBeyW':_0x1d8632(0x1e2)},_0x325d5e=process[_0x1d8632(0x1bd)][_0x1d8632(0x17d)](0x2);return _0x513216[_0x1d8632(0x179)](captureError,_0x513216[_0x1d8632(0x1d3)](require,_0x513216[_0x1d8632(0x1b5)]),_0x424cea);})[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x18a),Constants[a44_0x2ae1ed(0x1d8)][a44_0x2ae1ed(0x1a0)],function(_0x3a2eda){const _0x5f3703=a44_0x2ae1ed,_0x560bca={'CTqdR':function(_0x3d44ff,_0x4818a0){return _0x3d44ff(_0x4818a0);}};return _0x560bca[_0x5f3703(0x16b)](runIntegrations,_0x3a2eda);})[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x1c0),Constants[a44_0x2ae1ed(0x19b)][a44_0x2ae1ed(0x1a0)],function(_0x4088d4){const _0x2400c9=a44_0x2ae1ed,_0x29458b={'ruCfW':function(_0x3860a8,_0x1980ae,_0x5525df,_0x42f2b8){return _0x3860a8(_0x1980ae,_0x5525df,_0x42f2b8);},'xmWri':function(_0x17817e,_0x17d608){return _0x17817e(_0x17d608);},'SZCBj':_0x2400c9(0x170)},_0x2ccd95=process[_0x2400c9(0x1bd)]['slice'](0x2);return _0x29458b[_0x2400c9(0x1d2)](captureError,_0x29458b[_0x2400c9(0x181)](require,_0x29458b[_0x2400c9(0x18e)]),_0x4088d4[_0x2400c9(0x1bd)],_0x2ccd95);})[a44_0x2ae1ed(0x17e)](0x1,a44_0x2ae1ed(0x1c2))['wrap'](null)['argv'];!helper[a44_0x2ae1ed(0x187)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x2ae1ed(0x173)&&console[a44_0x2ae1ed(0x1b8)](a44_0x2ae1ed(0x1d6));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
function a45_0x1c90(){const _0x4bedbc=['Creating\x20configuration\x20file...','qkATC','yQQTj','split','48104myVNZT','writeFileSync','utf8','jHiBB','replace','node-setup','3483208BDPGKn','GUwWJ','js-yaml','entries','FKNyf','1106vJgVSm','YBAcz','key','95463fglGVC','YOUR_ACCESS_KEY','Somle','69060mZWpwr','error','Setup\x20completed','playwright','zeKME','9562800WNIXgJ','readFileSync','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','ARyjg','YVfZM','indexOf','node','debug','bBMVG','4627521nkBALK','30HvomDR','length','parse','argv','/../../browserstack.pw.yml.sample','NDpTC','yargs','/../../browserstack.yml.sample','DWFnz','load','includes','mocha','cwd','info','fireFunnelTestEvent','BRzOk','splice','browserstack-node-sdk\x20','tYtnm','push','isUndefined','browserstack-node-sdk','scripts','xceea','IYsgC','nwNkf','npm\x20update\x20browserstack-node-sdk','SDKSetup','username','/browserstack.yml','postinstall','cucumber-js','stringify','source','/package.json','445557zbWeKu','jest','22FkUteX','zUxGK'];a45_0x1c90=function(){return _0x4bedbc;};return a45_0x1c90();}const a45_0x552894=a45_0x22ad;(function(_0x224202,_0x55697f){const _0x2070c5=a45_0x22ad,_0x3cbb74=_0x224202();while(!![]){try{const _0xf07bf0=parseInt(_0x2070c5(0xb0))/0x1+parseInt(_0x2070c5(0xb2))/0x2*(parseInt(_0x2070c5(0xc6))/0x3)+-parseInt(_0x2070c5(0xbe))/0x4+-parseInt(_0x2070c5(0xc9))/0x5*(-parseInt(_0x2070c5(0xd8))/0x6)+parseInt(_0x2070c5(0xc3))/0x7*(-parseInt(_0x2070c5(0xb8))/0x8)+parseInt(_0x2070c5(0xd7))/0x9+parseInt(_0x2070c5(0xce))/0xa;if(_0xf07bf0===_0x55697f)break;else _0x3cbb74['push'](_0x3cbb74['shift']());}catch(_0x821009){_0x3cbb74['push'](_0x3cbb74['shift']());}}}(a45_0x1c90,0x7d8c1));function a45_0x22ad(_0x38212a,_0xf9f775){const _0x1c9092=a45_0x1c90();return a45_0x22ad=function(_0x22adbe,_0x37cd1b){_0x22adbe=_0x22adbe-0xb0;let _0x555cfb=_0x1c9092[_0x22adbe];return _0x555cfb;},a45_0x22ad(_0x38212a,_0xf9f775);}const fs=require('fs'),helper=require('../helpers/helper'),utilities=require('../helpers/utilities'),yaml=require(a45_0x552894(0xc0)),yargs=require(a45_0x552894(0xde)),logger=require('../helpers/logger')['winstonLogger'],configFileTemplate=__dirname+a45_0x552894(0xdf),configFileTemplatePW=__dirname+a45_0x552894(0xdc),configFile=process[a45_0x552894(0xe4)]()+a45_0x552894(0xf5),packageFile=process[a45_0x552894(0xe4)]()+a45_0x552894(0xfa),frameworks=[a45_0x552894(0xe3),a45_0x552894(0xb1),a45_0x552894(0xf7),a45_0x552894(0xd4),'nightwatch','codeceptjs',a45_0x552894(0xcc)];let config;logger[a45_0x552894(0xe5)](a45_0x552894(0xb4)),createConfigurationFile(yargs[a45_0x552894(0xdb)][a45_0x552894(0xf4)],yargs[a45_0x552894(0xdb)][a45_0x552894(0xc5)],yargs[a45_0x552894(0xdb)][a45_0x552894(0xcc)]);try{sdkSetup();}catch(a45_0x392037){logger[a45_0x552894(0xd5)](a45_0x552894(0xd0)+a45_0x392037);}addScriptInPackageJson();function createConfigurationFile(_0x34a398,_0x4f8105,_0x31668f=![]){const _0x54212b=a45_0x552894,_0x7aa4b7={};_0x7aa4b7['zUxGK']=_0x54212b(0xba),_0x7aa4b7[_0x54212b(0xc4)]='YOUR_USERNAME',_0x7aa4b7[_0x54212b(0xd6)]=_0x54212b(0xc7);const _0x29bb8d=_0x7aa4b7;try{let _0x41cc4a=fs[_0x54212b(0xcf)](_0x31668f?configFileTemplatePW:configFileTemplate,_0x29bb8d[_0x54212b(0xb3)]);_0x34a398&&(_0x41cc4a=_0x41cc4a[_0x54212b(0xbc)](_0x29bb8d[_0x54212b(0xc4)],_0x34a398)),_0x4f8105&&(_0x41cc4a=_0x41cc4a[_0x54212b(0xbc)](_0x29bb8d[_0x54212b(0xd6)],_0x4f8105)),config=yaml[_0x54212b(0xe1)](_0x41cc4a),fs[_0x54212b(0xb9)](configFile,_0x41cc4a,_0x4cd503=>{_0x4cd503&&logger['error'](_0x4cd503);});}catch(_0x3157c3){logger[_0x54212b(0xca)](_0x3157c3);}}function addPostInstallScript(_0x57f387,_0x369096){const _0x4ec279=a45_0x552894,_0x3a77de={};_0x3a77de[_0x4ec279(0xbf)]=_0x4ec279(0xf6),_0x3a77de['Somle']=_0x4ec279(0xf2),_0x3a77de[_0x4ec279(0xbb)]='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0x533314=_0x3a77de;let _0x1a1629=_0x57f387[_0x533314[_0x4ec279(0xbf)]];if(_0x1a1629&&_0x1a1629[_0x4ec279(0xe2)](_0x533314[_0x4ec279(0xc8)]))return;!_0x1a1629?_0x1a1629=_0x533314['Somle']:_0x1a1629+=_0x533314[_0x4ec279(0xbb)],_0x369096[_0x4ec279(0xeb)]([_0x533314[_0x4ec279(0xbf)],_0x1a1629]);}function addScriptInPackageJson(){const _0x4983e5=a45_0x552894,_0x587a71={'yQQTj':_0x4983e5(0xba),'YVfZM':function(_0x3f4533,_0x5ddfcf){return _0x3f4533<_0x5ddfcf;},'tYtnm':function(_0x2db84a,_0x35da5f,_0x7e0da3){return _0x2db84a(_0x35da5f,_0x7e0da3);},'IYsgC':function(_0x120f5b,_0x453d14,_0x34a231){return _0x120f5b(_0x453d14,_0x34a231);},'DWFnz':function(_0x3d6da2,_0x3dce07){return _0x3d6da2!==_0x3dce07;},'NDpTC':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x2d5aa9=JSON[_0x4983e5(0xda)](fs[_0x4983e5(0xcf)](packageFile,_0x587a71[_0x4983e5(0xb6)])),_0x3a0549=[];for(let _0x3d23d2=0x0;_0x587a71[_0x4983e5(0xd2)](_0x3d23d2,frameworks[_0x4983e5(0xd9)]);_0x3d23d2+=0x1){const _0x23f13b=_0x587a71[_0x4983e5(0xea)](findScriptsWithFramework,_0x2d5aa9['scripts'],frameworks[_0x3d23d2]);for(let _0x4bb12d=0x0;_0x587a71[_0x4983e5(0xd2)](_0x4bb12d,_0x23f13b[_0x4983e5(0xd9)]);_0x4bb12d+=0x1){_0x3a0549[_0x4983e5(0xeb)](_0x587a71[_0x4983e5(0xea)](getUpdatedCommand,_0x2d5aa9[_0x4983e5(0xee)],_0x23f13b[_0x4bb12d]));}_0x587a71[_0x4983e5(0xf0)](addPostInstallScript,_0x2d5aa9[_0x4983e5(0xee)],_0x3a0549);}const _0x2c9aa0={..._0x2d5aa9['scripts']},_0x3471b5=_0x2c9aa0;for(let _0x24a938=0x0;_0x587a71['YVfZM'](_0x24a938,_0x3a0549['length']);_0x24a938+=0x1){_0x3471b5[_0x3a0549[_0x24a938][0x0]]=_0x3a0549[_0x24a938][0x1];}_0x587a71[_0x4983e5(0xe0)](JSON[_0x4983e5(0xf8)](_0x2d5aa9[_0x4983e5(0xee)]),JSON[_0x4983e5(0xf8)](_0x3471b5))&&(logger[_0x4983e5(0xe5)](_0x587a71[_0x4983e5(0xdd)]),_0x2d5aa9[_0x4983e5(0xee)]=_0x3471b5,fs[_0x4983e5(0xb9)](packageFile,JSON['stringify'](_0x2d5aa9,null,0x2),_0x3076fe=>{const _0x46ce13=_0x4983e5;_0x3076fe&&logger[_0x46ce13(0xca)](_0x3076fe);}));};function findScriptsWithFramework(_0x141b57,_0x1aedd0){const _0x167ea7=a45_0x552894,_0x2ed948={};_0x2ed948[_0x167ea7(0xb5)]=function(_0x548d54,_0xa11339){return _0x548d54<_0xa11339;},_0x2ed948[_0x167ea7(0xd1)]=_0x167ea7(0xed);const _0x345843=_0x2ed948,_0x3f8d46=[],_0x59f9c6=Object[_0x167ea7(0xc1)](_0x141b57);for(let _0x4c7f54=0x0;_0x345843[_0x167ea7(0xb5)](_0x4c7f54,_0x59f9c6[_0x167ea7(0xd9)]);_0x4c7f54+=0x1){_0x59f9c6[_0x4c7f54][0x1][_0x167ea7(0xe2)](_0x1aedd0)&&!_0x59f9c6[_0x4c7f54][0x1][_0x167ea7(0xe2)](_0x345843[_0x167ea7(0xd1)])&&_0x3f8d46[_0x167ea7(0xeb)](_0x59f9c6[_0x4c7f54][0x0]);}return _0x3f8d46;}function getUpdatedCommand(_0x4c2c9a,_0x1c48dc){const _0x11f54d=a45_0x552894,_0x5d66d7={};_0x5d66d7[_0x11f54d(0xcd)]=function(_0x1dc972,_0x91ff36){return _0x1dc972!==_0x91ff36;},_0x5d66d7[_0x11f54d(0xc2)]='browserstack-node-sdk',_0x5d66d7[_0x11f54d(0xe7)]=function(_0x4e973a,_0x2ce698){return _0x4e973a===_0x2ce698;};const _0x27b2b1=_0x5d66d7,_0x5aa38c=_0x1c48dc+'-browserstack',_0xdbc000=_0x4c2c9a[_0x1c48dc],_0x503128=_0xdbc000[_0x11f54d(0xb7)]('\x20');for(const _0x5dc2b4 of frameworks){if(_0x27b2b1['zeKME'](_0x503128[_0x11f54d(0xd3)](_0x5dc2b4),-0x1)){_0x503128[_0x11f54d(0xe8)](_0x503128[_0x11f54d(0xd3)](_0x5dc2b4),0x0,_0x27b2b1[_0x11f54d(0xc2)]);break;}}let _0x39ffaf=_0x503128['join']('\x20');return _0x27b2b1[_0x11f54d(0xe7)](_0x39ffaf,_0xdbc000)&&(_0x39ffaf=_0x11f54d(0xe9)+_0xdbc000),[_0x5aa38c,_0x39ffaf];}function sdkSetup(){const _0x4eb3ed=a45_0x552894,_0x190756={};_0x190756[_0x4eb3ed(0xef)]=_0x4eb3ed(0xbd),_0x190756['nwNkf']=_0x4eb3ed(0xf3);const _0x3e7834=_0x190756;if(helper[_0x4eb3ed(0xec)](config))return;config[_0x4eb3ed(0xf9)]=_0x3e7834[_0x4eb3ed(0xef)];try{utilities[_0x4eb3ed(0xe6)](_0x3e7834[_0x4eb3ed(0xf1)],{},config,'');}catch(_0x84bd57){logger[_0x4eb3ed(0xd5)](_0x4eb3ed(0xd0)+_0x84bd57);}}logger[a45_0x552894(0xe5)](a45_0x552894(0xcb));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a46_0x55e9(_0x4b64,_0x23574c){const _0x292d19=a46_0x292d();return a46_0x55e9=function(_0x55e93b,_0xf08d3){_0x55e93b=_0x55e93b-0x98;let _0x2a05af=_0x292d19[_0x55e93b];return _0x2a05af;},a46_0x55e9(_0x4b64,_0x23574c);}const a46_0xf81540=a46_0x55e9;function a46_0x292d(){const _0x5a6bb6=['209982PQcnPB','FZPyE','config','parallelCucumberRun','JbVPW','AbGBs','jest-worker','worker','../../helpers/test-observability/constants','664wiNEhO','log','platform-run-success','vanillaWorker','pipe','cucumberWorker','YVTYz','platform','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','Running\x20','Workers\x20failed\x20to\x20exit\x20gracefully','stdout','UNSTABLE_onCustomMessage','../../helpers/performance/constants','platforms','shHQd','lMdrQ','1160533ImLYav','end','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','rKJnk','format','HKuxL','pNyFP','parallelTestRun','iuCUI','IfpWM','map','getWorkers','HnoDc','Worker','HpAVY','329932AMEzOl','emit','../../helpers/testhub/testhubHandler','exit','platform-run-failure','dJHGu','then','error','3391555EUeAdN','worker_threads','jkLeX','VwGmF','send','RrJiM','3XRbCsS','parallelVanillaRun','all','6943977IgWkSm','p-limit','stderr','failureCount','test-file-failure','XCsUv','GiZSC','exitCode','getStderr','test-file-success','MOCHA','file','43246gVSPtV','meVli','length','platform-run-start','postMessage','hJHIv','launchBuild','_workerPool','util','otaVV','7444644ChKlsL','../../helpers/logger','UaTcB','test-file-start','iivfs','getStdout','./testWorker.js','emittery','json','PFwMz','tGTMf','resolve','yGZKp','configuration','info','debug','Exception\x20in\x20sending\x20worker\x20message\x20','oCnbb'];a46_0x292d=function(){return _0x5a6bb6;};return a46_0x292d();}(function(_0x18f070,_0x3bd56c){const _0xc0b1de=a46_0x55e9,_0x5188cc=_0x18f070();while(!![]){try{const _0x40de16=-parseInt(_0xc0b1de(0xd6))/0x1+parseInt(_0xc0b1de(0xbc))/0x2*(parseInt(_0xc0b1de(0xf3))/0x3)+-parseInt(_0xc0b1de(0xe5))/0x4+-parseInt(_0xc0b1de(0xed))/0x5+parseInt(_0xc0b1de(0xaa))/0x6+parseInt(_0xc0b1de(0xa0))/0x7*(parseInt(_0xc0b1de(0xc5))/0x8)+parseInt(_0xc0b1de(0xf6))/0x9;if(_0x40de16===_0x3bd56c)break;else _0x5188cc['push'](_0x5188cc['shift']());}catch(_0x4edb36){_0x5188cc['push'](_0x5188cc['shift']());}}}(a46_0x292d,0xad09d));const Worker=require(a46_0xf81540(0xc2))[a46_0xf81540(0xe3)],Emittery=require(a46_0xf81540(0xb1)),pLimit=require(a46_0xf81540(0xf7)),{parentPort}=require(a46_0xf81540(0xee)),util=require(a46_0xf81540(0xa8)),logger=require(a46_0xf81540(0xab))['winstonLogger'],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a46_0xf81540(0xd2))['EVENTS'],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a46_0xf81540(0xe7)),{FRAMEWORKS}=require(a46_0xf81540(0xc4));exports[a46_0xf81540(0xdd)]=(_0x178580,_0x5d25d9,_0x749790)=>new Promise(async _0x26f126=>{const _0x516ef6=a46_0xf81540,_0xe4a50d={'FZPyE':_0x516ef6(0xf9),'HpAVY':function(_0x9c1d15,_0x38e7aa){return _0x9c1d15+_0x38e7aa;},'yGZKp':'results','cfAlD':_0x516ef6(0xcf),'PFwMz':function(_0xf76d91,_0x28aab2){return _0xf76d91(_0x28aab2);},'GiZSC':_0x516ef6(0xad),'JbVPW':_0x516ef6(0xb0),'sWwzI':_0x516ef6(0xc3),'AKrlu':_0x516ef6(0xb2),'XCsUv':_0x516ef6(0xc9),'pyNAZ':function(_0x2b8e0b,_0x58a3e3){return _0x2b8e0b*_0x58a3e3;},'VwGmF':_0x516ef6(0x9d),'lMdrQ':'test-file-failure','vmrWE':function(_0x682006,_0x20356b){return _0x682006(_0x20356b);},'iuCUI':function(_0x2b1bae,_0x1fc09f){return _0x2b1bae*_0x1fc09f;}},_0x50cae7=_0x749790[_0x516ef6(0xbe)],_0x217eaa={},_0x20adc3=await TestHubHandler[_0x516ef6(0xa6)](FRAMEWORKS[_0x516ef6(0x9e)],_0x749790),_0x1f2bea=new Worker(require[_0x516ef6(0xb5)](_0xe4a50d[_0x516ef6(0xc0)]),{'exposedMethods':[_0xe4a50d['sWwzI']],'forkOptions':{'serialization':_0xe4a50d['AKrlu'],'stdio':_0xe4a50d[_0x516ef6(0x99)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0xe4a50d['pyNAZ'](_0x5d25d9,0x1),'enableWorkerThreads':!![]}),_0x2ff39b=new Emittery();_0x2ff39b['on'](_0xe4a50d[_0x516ef6(0xf0)],_0x3aad72=>{const _0xaa3c8f=_0x516ef6;_0x217eaa[_0x3aad72[0x0]]?(_0x217eaa[_0x3aad72[0x0]][_0xe4a50d[_0xaa3c8f(0xbd)]]=_0xe4a50d[_0xaa3c8f(0xe4)](_0x217eaa[_0x3aad72[0x0]][_0xe4a50d[_0xaa3c8f(0xbd)]],_0x3aad72[0x1][_0xe4a50d[_0xaa3c8f(0xbd)]]),_0x217eaa[_0x3aad72[0x0]][_0xe4a50d[_0xaa3c8f(0xb6)]]=[..._0x217eaa[_0x3aad72[0x0]][_0xe4a50d[_0xaa3c8f(0xb6)]],..._0x3aad72[0x1][_0xe4a50d[_0xaa3c8f(0xb6)]]]):_0x217eaa[_0x3aad72[0x0]]={'failureCount':_0x3aad72[0x1][_0xe4a50d[_0xaa3c8f(0xbd)]],'results':[..._0x3aad72[0x1][_0xe4a50d['yGZKp']]]};}),_0x2ff39b['on'](_0xe4a50d[_0x516ef6(0xd5)],_0x29a29e=>console[_0x516ef6(0xc6)](_0x29a29e[0x1]));_0x1f2bea['getStdout']()&&_0x1f2bea[_0x516ef6(0xaf)]()['pipe'](process[_0x516ef6(0xd0)]);_0x1f2bea[_0x516ef6(0x9c)]()&&_0x1f2bea['getStderr']()[_0x516ef6(0xc9)](process[_0x516ef6(0xf8)]);const _0x1ee9e9=async()=>{const _0x306ad6=_0x516ef6,{forceExited:_0x580ab1}=await _0x1f2bea[_0x306ad6(0xd7)]();_0x580ab1&&console[_0x306ad6(0xec)](_0xe4a50d['cfAlD']);try{await TestHubHandler['stop']();}catch(_0x14e1ff){_0xe4a50d[_0x306ad6(0xb3)](debug,_0x306ad6(0xd8)+_0x14e1ff);}_0xe4a50d['PFwMz'](_0x26f126,_0x217eaa);},_0x2510e3=_0xe4a50d['vmrWE'](pLimit,_0xe4a50d[_0x516ef6(0xde)](_0x5d25d9,0x1)),_0x212a41=_0x5ef2de=>_0x2510e3(async()=>{const _0xd08f7a=_0x516ef6;await _0x2ff39b[_0xd08f7a(0xe6)](_0xe4a50d[_0xd08f7a(0x9a)],_0x5ef2de);const _0x65b873=_0x1f2bea['worker'](_0x5ef2de,_0x50cae7);try{parentPort&&_0x65b873[_0xd08f7a(0xd1)](_0x5e007c=>{const _0x14b33d=_0xd08f7a;try{parentPort[_0x14b33d(0xa4)](_0x5e007c);}catch(_0x40cdca){logger[_0x14b33d(0xb9)](_0x14b33d(0xba)+util[_0x14b33d(0xda)](_0x40cdca));}});}catch(_0x20b006){logger[_0xd08f7a(0xb9)](_0xd08f7a(0xcd)+util['format'](_0x20b006));}return _0x65b873;});PerformanceTester[_0x516ef6(0xd7)](PerformanceEvents['SDK_SETUP']),Promise['all'](_0x178580['map'](_0x3e7b8e=>_0x212a41(_0x3e7b8e)[_0x516ef6(0xeb)](_0x79ddca=>_0x2ff39b['emit'](_0x516ef6(0x9d),[_0x3e7b8e[_0x516ef6(0xb7)][_0x516ef6(0xcc)],_0x79ddca]),_0xf78bd4=>_0x2ff39b[_0x516ef6(0xe6)](_0x516ef6(0x98),[_0x3e7b8e,_0xf78bd4]))))[_0x516ef6(0xeb)](_0x1ee9e9,_0x1ee9e9);}),exports[a46_0xf81540(0xbf)]=(_0x502d1b,_0x27de20,_0x1fc79f,_0x4a15d6,_0x4b1058)=>{const _0x2c9805=a46_0xf81540,_0x4774dc={'hRIkR':_0x2c9805(0xcf),'jkLeX':function(_0x1a998b,_0x3a9d2a){return _0x1a998b(_0x3a9d2a);},'shHQd':_0x2c9805(0xa3),'rKJnk':_0x2c9805(0xb0),'sJDBq':'cucumberWorker','dJHGu':_0x2c9805(0xb2),'mDGum':_0x2c9805(0xc9),'HnoDc':_0x2c9805(0xc7),'AbGBs':_0x2c9805(0xe9),'tGTMf':function(_0x3845f5,_0x4415c2){return _0x3845f5(_0x4415c2);}};return new Promise(_0x2364a7=>{const _0x441fb0=_0x2c9805,_0x30fdaf={'oCnbb':_0x4774dc['hRIkR'],'FGnbL':function(_0x1874b5,_0x38b8d7){const _0x3513ce=a46_0x55e9;return _0x4774dc[_0x3513ce(0xef)](_0x1874b5,_0x38b8d7);},'HKuxL':_0x4774dc[_0x441fb0(0xd4)]},_0xa402a8=[],_0x414d98=new Worker(require[_0x441fb0(0xb5)](_0x4774dc[_0x441fb0(0xd9)]),{'exposedMethods':[_0x4774dc['sJDBq']],'forkOptions':{'serialization':_0x4774dc[_0x441fb0(0xea)],'stdio':_0x4774dc['mDGum']},'numWorkers':_0x502d1b['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x4010c7=new Emittery();_0x4010c7['on'](_0x4774dc[_0x441fb0(0xe2)],_0x14738e=>{_0xa402a8['push']([_0x14738e[0x0],_0x14738e[0x1]]);}),_0x4010c7['on'](_0x4774dc[_0x441fb0(0xc1)],_0x335490=>console['log'](_0x335490[0x1]));_0x414d98[_0x441fb0(0xaf)]()&&_0x414d98['getStdout']()[_0x441fb0(0xc9)](process['stdout']);_0x414d98[_0x441fb0(0x9c)]()&&_0x414d98[_0x441fb0(0x9c)]()[_0x441fb0(0xc9)](process[_0x441fb0(0xf8)]);const _0x1cf0e3=async()=>{const _0xb20ce5=_0x441fb0,{forceExited:_0x415a79}=await _0x414d98['end']();_0x415a79&&console[_0xb20ce5(0xec)](_0x30fdaf[_0xb20ce5(0xbb)]),_0x30fdaf['FGnbL'](_0x2364a7,_0xa402a8);},_0x3772be=_0x4774dc[_0x441fb0(0xb4)](pLimit,_0x502d1b[_0x441fb0(0xa2)]||0x1),_0x8dc0ca=(_0x3f7259,_0x406c31)=>_0x3772be(async()=>{const _0x1642ec=_0x441fb0;return await _0x4010c7[_0x1642ec(0xe6)](_0x30fdaf[_0x1642ec(0xdb)],_0x3f7259),_0x27de20['platformCaps']=_0x1fc79f[_0x1642ec(0xd3)][_0x406c31],_0x414d98[_0x1642ec(0xca)](_0x3f7259,_0x27de20,_0x1fc79f,_0x4a15d6,_0x4b1058);});Promise[_0x441fb0(0xf5)](_0x502d1b[_0x441fb0(0xe0)]((_0x441d4a,_0x30ca26)=>_0x8dc0ca(_0x441d4a,_0x30ca26)[_0x441fb0(0xeb)](_0x3cf7a7=>_0x4010c7[_0x441fb0(0xe6)](_0x441fb0(0xc7),[_0x441d4a,_0x3cf7a7]),_0x2cbfff=>_0x4010c7[_0x441fb0(0xe6)](_0x441fb0(0xe9),[_0x441d4a,_0x2cbfff]))))[_0x441fb0(0xeb)](_0x1cf0e3,_0x1cf0e3);});},exports[a46_0xf81540(0xf4)]=(_0x269171,_0xee603b)=>new Promise(_0x458483=>{const _0x17cacb=a46_0xf81540,_0x20a40f={'pNyFP':function(_0x1ca23c,_0x5654e1){return _0x1ca23c===_0x5654e1;},'WXJks':function(_0x9669fc,_0x56e50d){return _0x9669fc!==_0x56e50d;},'ZJCdE':_0x17cacb(0xe8),'IfpWM':_0x17cacb(0xcf),'RrJiM':function(_0x1b0595,_0x385f44){return _0x1b0595(_0x385f44);},'CqYIS':_0x17cacb(0xb0),'otaVV':_0x17cacb(0xc8),'hJHIv':_0x17cacb(0xb2),'EkgYY':'pipe','meVli':_0x17cacb(0x9d),'UaTcB':_0x17cacb(0x98)},_0xd1b6ac={},_0x1d9392=new Worker(require[_0x17cacb(0xb5)](_0x20a40f['CqYIS']),{'exposedMethods':[_0x20a40f[_0x17cacb(0xa9)]],'forkOptions':{'serialization':_0x20a40f[_0x17cacb(0xa5)],'stdio':_0x20a40f['EkgYY']},'numWorkers':_0xee603b,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x1e679c=new Emittery();_0x1e679c['on'](_0x20a40f[_0x17cacb(0xa1)],_0x82d3d0=>{const _0x19aabf=_0x17cacb;_0x82d3d0[0x0]&&logger[_0x19aabf(0xb8)](_0x19aabf(0xce)+_0x82d3d0[0x1]+'\x20for',_0x82d3d0[0x0]);}),_0x1e679c['on'](_0x20a40f[_0x17cacb(0xac)],_0x42494a=>{const _0x40ab31=_0x17cacb;process[_0x40ab31(0x9b)]=0x1;});_0x1d9392[_0x17cacb(0xaf)]()&&_0x1d9392['getStdout']()[_0x17cacb(0xc9)](process[_0x17cacb(0xd0)]);_0x1d9392[_0x17cacb(0x9c)]()&&_0x1d9392[_0x17cacb(0x9c)]()['pipe'](process['stderr']);const _0x2b8a60=async()=>{const _0x352b99=_0x17cacb,_0x54d66e={'Mhyxk':function(_0x1e724c,_0x2a2b0d){const _0x40d696=a46_0x55e9;return _0x20a40f[_0x40d696(0xdc)](_0x1e724c,_0x2a2b0d);},'iivfs':function(_0x59e7b8,_0x299a9a){return _0x20a40f['WXJks'](_0x59e7b8,_0x299a9a);},'YVTYz':_0x20a40f['ZJCdE']};let _0x278900=0x0;const _0x37106f=_0x1d9392[_0x352b99(0xa7)][_0x352b99(0xe1)](),_0x84be45=()=>{},_0x2591c2=_0x37106f[_0x352b99(0xe0)](async _0x530caf=>{const _0x4a649d=_0x352b99;_0x530caf[_0x4a649d(0xf1)]([0x2,![]],_0x84be45,_0x84be45,_0x84be45),_0x530caf['_child']['on'](_0x54d66e[_0x4a649d(0xcb)],_0x5c8934=>{const _0xf66aaf=_0x4a649d;_0x54d66e['Mhyxk'](_0x278900,0x0)&&_0x54d66e[_0xf66aaf(0xae)](_0x5c8934,0x0)&&(_0x278900=_0x5c8934);}),await _0x530caf['waitForExit']();});await Promise[_0x352b99(0xf5)](_0x2591c2),process[_0x352b99(0x9b)]=_0x278900;const {forceExited:_0x88b841}=await _0x1d9392[_0x352b99(0xd7)]();_0x88b841&&console[_0x352b99(0xec)](_0x20a40f[_0x352b99(0xdf)]),_0x20a40f[_0x352b99(0xf2)](_0x458483,_0xd1b6ac);},_0x2e159b=_0x20a40f['RrJiM'](pLimit,_0xee603b),_0x52dd08=_0x46370b=>_0x2e159b(async()=>{return _0x1d9392['vanillaWorker'](_0x46370b);});Promise['all'](_0x269171['map'](_0x3d0d11=>_0x52dd08(_0x3d0d11)[_0x17cacb(0xeb)](_0x532b47=>_0x1e679c[_0x17cacb(0xe6)]('test-file-success',[_0x3d0d11['configuration']['platform'],_0x3d0d11['configuration'][_0x17cacb(0x9f)]]),_0x574e43=>_0x1e679c['emit'](_0x17cacb(0x98),[_0x3d0d11,_0x574e43]))))[_0x17cacb(0xeb)](_0x2b8a60,_0x2b8a60);});
|
|
1
|
+
const a46_0x42406b=a46_0x35a4;function a46_0x24a9(){const _0x245301=['ZJuYP','parallelCucumberRun','nEtit','fpXdx','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','AnFSb','stderr','test-file-success','3247422PKKyhY','getStdout','DQuEH','VvISx','debug','bpGrK','jest-worker','../../helpers/performance/constants','WoRjJ','ESZWS','5YYIcSI','Workers\x20failed\x20to\x20exit\x20gracefully','platform-run-failure','YrUjG','qoLcR','test-file-failure','winstonLogger','12755511NEbBSU','platform-run-start','kovIo','UNSTABLE_onCustomMessage','platformCaps','failureCount','send','../../helpers/test-observability/constants','GOGOi','3950532UmzgPT','NdXVW','1467048PrOusW','MoWVW','configuration','util','1769992NCVrSu','resolve','LtLuk','worker_threads','getStderr','platforms','Running\x20','info','duosu','emit','pdplj','format','test-file-start','length','stdout','platform','jkkBI','758hGnsyg','oZUkm','emittery','launchBuild','results','1200CLSMtc','parallelVanillaRun','p-limit','SDK_SETUP','pipe','vanillaWorker','viVbc','postMessage','../../helpers/testhub/testhubHandler','exit','../../helpers/logger','Worker','error','7540995sBwPMz','json','map','./testWorker.js','eKycV','config','bBMHN','_workerPool','then','MOCHA','parallelTestRun','waitForExit','MmQvl','all','Exception\x20in\x20sending\x20worker\x20message\x20','exitCode','../../helpers/performance/performance-tester','worker','zJaLc','cucumberWorker','push','end','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','JAZTT','EVENTS'];a46_0x24a9=function(){return _0x245301;};return a46_0x24a9();}(function(_0x58d214,_0x32b598){const _0x4d1fa2=a46_0x35a4,_0x51e644=_0x58d214();while(!![]){try{const _0x5c93b3=parseInt(_0x4d1fa2(0x13c))/0x1*(parseInt(_0x4d1fa2(0x141))/0x2)+-parseInt(_0x4d1fa2(0x16f))/0x3+parseInt(_0x4d1fa2(0x12b))/0x4*(parseInt(_0x4d1fa2(0x179))/0x5)+parseInt(_0x4d1fa2(0x189))/0x6+-parseInt(_0x4d1fa2(0x14e))/0x7+-parseInt(_0x4d1fa2(0x127))/0x8+parseInt(_0x4d1fa2(0x180))/0x9;if(_0x5c93b3===_0x32b598)break;else _0x51e644['push'](_0x51e644['shift']());}catch(_0x18c885){_0x51e644['push'](_0x51e644['shift']());}}}(a46_0x24a9,0x99c63));const Worker=require(a46_0x42406b(0x175))[a46_0x42406b(0x14c)],Emittery=require(a46_0x42406b(0x13e)),pLimit=require(a46_0x42406b(0x143)),{parentPort}=require(a46_0x42406b(0x12e)),util=require(a46_0x42406b(0x12a)),logger=require(a46_0x42406b(0x14b))[a46_0x42406b(0x17f)],PerformanceTester=require(a46_0x42406b(0x15e)),PerformanceEvents=require(a46_0x42406b(0x176))[a46_0x42406b(0x166)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a46_0x42406b(0x149)),{FRAMEWORKS}=require(a46_0x42406b(0x187));function a46_0x35a4(_0x51ca8d,_0x3c0623){const _0x24a960=a46_0x24a9();return a46_0x35a4=function(_0x35a4ab,_0x12ab67){_0x35a4ab=_0x35a4ab-0x127;let _0x56d0a3=_0x24a960[_0x35a4ab];return _0x56d0a3;},a46_0x35a4(_0x51ca8d,_0x3c0623);}exports[a46_0x42406b(0x158)]=(_0x17065e,_0x4be093,_0x20ec87)=>new Promise(async _0x5c2cb3=>{const _0x7a1857=a46_0x42406b,_0x29fb9d={'jkkBI':_0x7a1857(0x185),'zJaLc':function(_0x9c9a31,_0x328c9e){return _0x9c9a31+_0x328c9e;},'VvISx':_0x7a1857(0x140),'VExDR':_0x7a1857(0x17a),'kovIo':function(_0x5ed7af,_0x4c8e92){return _0x5ed7af(_0x4c8e92);},'fgEmS':function(_0x90a031,_0x149424){return _0x90a031(_0x149424);},'WoRjJ':_0x7a1857(0x137),'JAZTT':_0x7a1857(0x151),'oZUkm':_0x7a1857(0x15f),'nXjcb':_0x7a1857(0x14f),'bBMHN':'pipe','MoWVW':function(_0x1100b1,_0x189044){return _0x1100b1*_0x189044;},'ZJuYP':_0x7a1857(0x16e),'AnFSb':'test-file-failure','LtLuk':function(_0x4dd725,_0x2b78a3){return _0x4dd725*_0x2b78a3;}},_0x32571e=_0x20ec87[_0x7a1857(0x153)],_0x1d3276={},_0x2a10e2=await TestHubHandler[_0x7a1857(0x13f)](FRAMEWORKS[_0x7a1857(0x157)],_0x20ec87),_0x12275c=new Worker(require['resolve'](_0x29fb9d[_0x7a1857(0x165)]),{'exposedMethods':[_0x29fb9d[_0x7a1857(0x13d)]],'forkOptions':{'serialization':_0x29fb9d['nXjcb'],'stdio':_0x29fb9d[_0x7a1857(0x154)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x29fb9d[_0x7a1857(0x128)](_0x4be093,0x1),'enableWorkerThreads':!![]}),_0x350b30=new Emittery();_0x350b30['on'](_0x29fb9d[_0x7a1857(0x167)],_0x43365d=>{const _0x32ea79=_0x7a1857;_0x1d3276[_0x43365d[0x0]]?(_0x1d3276[_0x43365d[0x0]][_0x29fb9d[_0x32ea79(0x13b)]]=_0x29fb9d[_0x32ea79(0x160)](_0x1d3276[_0x43365d[0x0]][_0x29fb9d['jkkBI']],_0x43365d[0x1][_0x29fb9d[_0x32ea79(0x13b)]]),_0x1d3276[_0x43365d[0x0]][_0x29fb9d['VvISx']]=[..._0x1d3276[_0x43365d[0x0]][_0x29fb9d[_0x32ea79(0x172)]],..._0x43365d[0x1][_0x29fb9d['VvISx']]]):_0x1d3276[_0x43365d[0x0]]={'failureCount':_0x43365d[0x1][_0x29fb9d[_0x32ea79(0x13b)]],'results':[..._0x43365d[0x1][_0x29fb9d[_0x32ea79(0x172)]]]};}),_0x350b30['on'](_0x29fb9d[_0x7a1857(0x16c)],_0x47bb35=>console['log'](_0x47bb35[0x1]));_0x12275c[_0x7a1857(0x170)]()&&_0x12275c[_0x7a1857(0x170)]()[_0x7a1857(0x145)](process[_0x7a1857(0x139)]);_0x12275c[_0x7a1857(0x12f)]()&&_0x12275c[_0x7a1857(0x12f)]()[_0x7a1857(0x145)](process[_0x7a1857(0x16d)]);const _0x2ce01f=async()=>{const _0x256884=_0x7a1857,{forceExited:_0x43e0de}=await _0x12275c['end']();_0x43e0de&&console['error'](_0x29fb9d['VExDR']);try{await TestHubHandler['stop']();}catch(_0x49cb5d){_0x29fb9d[_0x256884(0x182)](debug,_0x256884(0x16b)+_0x49cb5d);}_0x29fb9d['fgEmS'](_0x5c2cb3,_0x1d3276);},_0x2d6c40=_0x29fb9d['kovIo'](pLimit,_0x29fb9d[_0x7a1857(0x12d)](_0x4be093,0x1)),_0x230444=_0x1fdd77=>_0x2d6c40(async()=>{const _0x5f5b2b=_0x7a1857;await _0x350b30[_0x5f5b2b(0x134)](_0x29fb9d[_0x5f5b2b(0x177)],_0x1fdd77);const _0x5a1a6c=_0x12275c[_0x5f5b2b(0x15f)](_0x1fdd77,_0x32571e);try{parentPort&&_0x5a1a6c[_0x5f5b2b(0x183)](_0xb1ff67=>{const _0x4b53d2=_0x5f5b2b;try{parentPort[_0x4b53d2(0x148)](_0xb1ff67);}catch(_0x218511){logger[_0x4b53d2(0x173)](_0x4b53d2(0x15c)+util[_0x4b53d2(0x136)](_0x218511));}});}catch(_0x7206fd){logger[_0x5f5b2b(0x173)](_0x5f5b2b(0x164)+util['format'](_0x7206fd));}return _0x5a1a6c;});PerformanceTester[_0x7a1857(0x163)](PerformanceEvents[_0x7a1857(0x144)]),Promise[_0x7a1857(0x15b)](_0x17065e[_0x7a1857(0x150)](_0x566d72=>_0x230444(_0x566d72)[_0x7a1857(0x156)](_0x5d23b1=>_0x350b30['emit'](_0x7a1857(0x16e),[_0x566d72[_0x7a1857(0x129)]['platform'],_0x5d23b1]),_0x61b334=>_0x350b30['emit'](_0x7a1857(0x17e),[_0x566d72,_0x61b334]))))[_0x7a1857(0x156)](_0x2ce01f,_0x2ce01f);}),exports[a46_0x42406b(0x168)]=(_0x49b439,_0x255a40,_0x99b522,_0x2dd4d8,_0x2c567f)=>{const _0x352c16=a46_0x42406b,_0x151e28={'fpXdx':_0x352c16(0x17a),'ESZWS':function(_0x3078ee,_0x39cd5b){return _0x3078ee(_0x39cd5b);},'hTUsk':_0x352c16(0x181),'dUlkm':_0x352c16(0x151),'piiDe':_0x352c16(0x161),'nEtit':'json','mdQqW':_0x352c16(0x145),'uaFXg':'platform-run-success','pdplj':_0x352c16(0x17b)};return new Promise(_0x26a17c=>{const _0x1c2132=_0x352c16,_0x541e9d={};_0x541e9d[_0x1c2132(0x17c)]=_0x151e28['hTUsk'];const _0x548a67=_0x541e9d,_0x2799ea=[],_0x23e9c0=new Worker(require[_0x1c2132(0x12c)](_0x151e28['dUlkm']),{'exposedMethods':[_0x151e28['piiDe']],'forkOptions':{'serialization':_0x151e28[_0x1c2132(0x169)],'stdio':_0x151e28['mdQqW']},'numWorkers':_0x49b439[_0x1c2132(0x138)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x330d97=new Emittery();_0x330d97['on'](_0x151e28['uaFXg'],_0xff0271=>{const _0x1f3e74=_0x1c2132;_0x2799ea[_0x1f3e74(0x162)]([_0xff0271[0x0],_0xff0271[0x1]]);}),_0x330d97['on'](_0x151e28[_0x1c2132(0x135)],_0x42aa45=>console['log'](_0x42aa45[0x1]));_0x23e9c0[_0x1c2132(0x170)]()&&_0x23e9c0[_0x1c2132(0x170)]()[_0x1c2132(0x145)](process['stdout']);_0x23e9c0[_0x1c2132(0x12f)]()&&_0x23e9c0[_0x1c2132(0x12f)]()[_0x1c2132(0x145)](process['stderr']);const _0x246c9a=async()=>{const _0x355041=_0x1c2132,{forceExited:_0x34226c}=await _0x23e9c0[_0x355041(0x163)]();_0x34226c&&console[_0x355041(0x14d)](_0x151e28[_0x355041(0x16a)]),_0x151e28[_0x355041(0x178)](_0x26a17c,_0x2799ea);},_0x512e39=_0x151e28[_0x1c2132(0x178)](pLimit,_0x49b439[_0x1c2132(0x138)]||0x1),_0x2ed5df=(_0x445a3a,_0x1275e5)=>_0x512e39(async()=>{const _0x49b5c1=_0x1c2132;return await _0x330d97[_0x49b5c1(0x134)](_0x548a67[_0x49b5c1(0x17c)],_0x445a3a),_0x255a40[_0x49b5c1(0x184)]=_0x99b522[_0x49b5c1(0x130)][_0x1275e5],_0x23e9c0[_0x49b5c1(0x161)](_0x445a3a,_0x255a40,_0x99b522,_0x2dd4d8,_0x2c567f);});Promise[_0x1c2132(0x15b)](_0x49b439[_0x1c2132(0x150)]((_0x4e52b2,_0x21da4d)=>_0x2ed5df(_0x4e52b2,_0x21da4d)['then'](_0x252a47=>_0x330d97[_0x1c2132(0x134)]('platform-run-success',[_0x4e52b2,_0x252a47]),_0x1919cf=>_0x330d97['emit'](_0x1c2132(0x17b),[_0x4e52b2,_0x1919cf]))))[_0x1c2132(0x156)](_0x246c9a,_0x246c9a);});},exports[a46_0x42406b(0x142)]=(_0x17f9d7,_0x4a4828)=>new Promise(_0x1254e8=>{const _0x5d0948=a46_0x42406b,_0x671d61={'MmQvl':_0x5d0948(0x14a),'pMZKX':function(_0x3e9779,_0x1318f4){return _0x3e9779===_0x1318f4;},'qoLcR':function(_0x8feb9f,_0x187f66){return _0x8feb9f!==_0x187f66;},'viVbc':_0x5d0948(0x17a),'DQuEH':function(_0x27a1b5,_0xa3e357){return _0x27a1b5(_0xa3e357);},'NdXVW':_0x5d0948(0x151),'lHwId':_0x5d0948(0x146),'dVbvF':_0x5d0948(0x14f),'GOGOi':_0x5d0948(0x145),'sUHfu':'test-file-success','bpGrK':_0x5d0948(0x17e),'eKycV':function(_0xb297b8,_0xcaf2c5){return _0xb297b8(_0xcaf2c5);}},_0x537d63={},_0x4d8e10=new Worker(require[_0x5d0948(0x12c)](_0x671d61[_0x5d0948(0x18a)]),{'exposedMethods':[_0x671d61['lHwId']],'forkOptions':{'serialization':_0x671d61['dVbvF'],'stdio':_0x671d61[_0x5d0948(0x188)]},'numWorkers':_0x4a4828,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x3c12e8=new Emittery();_0x3c12e8['on'](_0x671d61['sUHfu'],_0x2339b=>{const _0x4d8c59=_0x5d0948;_0x2339b[0x0]&&logger[_0x4d8c59(0x132)](_0x4d8c59(0x131)+_0x2339b[0x1]+'\x20for',_0x2339b[0x0]);}),_0x3c12e8['on'](_0x671d61[_0x5d0948(0x174)],_0x2f38a6=>{const _0x4443c4=_0x5d0948;process[_0x4443c4(0x15d)]=0x1;});_0x4d8e10[_0x5d0948(0x170)]()&&_0x4d8e10[_0x5d0948(0x170)]()[_0x5d0948(0x145)](process[_0x5d0948(0x139)]);_0x4d8e10[_0x5d0948(0x12f)]()&&_0x4d8e10[_0x5d0948(0x12f)]()[_0x5d0948(0x145)](process[_0x5d0948(0x16d)]);const _0x4250d1=async()=>{const _0xd43f15=_0x5d0948,_0x7ff63a={'duosu':function(_0x438ee2,_0x48c5ac){return _0x671d61['pMZKX'](_0x438ee2,_0x48c5ac);},'sfsFO':function(_0x363808,_0x1f882f){const _0x159466=a46_0x35a4;return _0x671d61[_0x159466(0x17d)](_0x363808,_0x1f882f);}};let _0x3b5de4=0x0;const _0x4e0fbd=_0x4d8e10[_0xd43f15(0x155)]['getWorkers'](),_0x54942d=()=>{},_0x269bd0=_0x4e0fbd[_0xd43f15(0x150)](async _0x1d1292=>{const _0x2e42c0=_0xd43f15;_0x1d1292[_0x2e42c0(0x186)]([0x2,![]],_0x54942d,_0x54942d,_0x54942d),_0x1d1292['_child']['on'](_0x671d61[_0x2e42c0(0x15a)],_0x4fad57=>{const _0x57d05d=_0x2e42c0;_0x7ff63a[_0x57d05d(0x133)](_0x3b5de4,0x0)&&_0x7ff63a['sfsFO'](_0x4fad57,0x0)&&(_0x3b5de4=_0x4fad57);}),await _0x1d1292[_0x2e42c0(0x159)]();});await Promise['all'](_0x269bd0),process['exitCode']=_0x3b5de4;const {forceExited:_0x269235}=await _0x4d8e10[_0xd43f15(0x163)]();_0x269235&&console[_0xd43f15(0x14d)](_0x671d61[_0xd43f15(0x147)]),_0x671d61[_0xd43f15(0x171)](_0x1254e8,_0x537d63);},_0x130df5=_0x671d61[_0x5d0948(0x152)](pLimit,_0x4a4828),_0x1a5b52=_0x3eef37=>_0x130df5(async()=>{const _0x70e63f=_0x5d0948;return _0x4d8e10[_0x70e63f(0x146)](_0x3eef37);});Promise[_0x5d0948(0x15b)](_0x17f9d7[_0x5d0948(0x150)](_0x34c1c4=>_0x1a5b52(_0x34c1c4)[_0x5d0948(0x156)](_0x42f877=>_0x3c12e8[_0x5d0948(0x134)](_0x5d0948(0x16e),[_0x34c1c4[_0x5d0948(0x129)][_0x5d0948(0x13a)],_0x34c1c4['configuration']['file']]),_0x2434a9=>_0x3c12e8[_0x5d0948(0x134)](_0x5d0948(0x17e),[_0x34c1c4,_0x2434a9]))))[_0x5d0948(0x156)](_0x4250d1,_0x4250d1);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a47_0x1eb626=a47_0x5330;function a47_0x5330(_0x120bf9,_0x5b4cf6){const _0x17147a=a47_0x1714();return a47_0x5330=function(_0x533028,_0x36f04f){_0x533028=_0x533028-0x12c;let _0x3bbc15=_0x17147a[_0x533028];return _0x3bbc15;},a47_0x5330(_0x120bf9,_0x5b4cf6);}(function(_0x4ca5bd,_0x266dbd){const _0x2294dd=a47_0x5330,_0xe5ff38=_0x4ca5bd();while(!![]){try{const _0x546e69=parseInt(_0x2294dd(0x12c))/0x1+-parseInt(_0x2294dd(0x148))/0x2*(-parseInt(_0x2294dd(0x133))/0x3)+parseInt(_0x2294dd(0x143))/0x4+parseInt(_0x2294dd(0x142))/0x5+-parseInt(_0x2294dd(0x137))/0x6+-parseInt(_0x2294dd(0x13a))/0x7+-parseInt(_0x2294dd(0x144))/0x8;if(_0x546e69===_0x266dbd)break;else _0xe5ff38['push'](_0xe5ff38['shift']());}catch(_0x177c00){_0xe5ff38['push'](_0xe5ff38['shift']());}}}(a47_0x1714,0x61ed9));const PerformanceEvents=require(a47_0x1eb626(0x132))['EVENTS'],PerformanceTester=require(a47_0x1eb626(0x136)),{sleep}=require(a47_0x1eb626(0x130));function a47_0x1714(){const _0x537f49=['NtaLr','3954755KHkKHH','startMonitoring','ROcol','ZPVbv','OYWcF','FHnwH','fPIBl','runVanillaTest','884035hBnoEf','1339844hWJtus','332672IikPyI','configuration','runCucumberTest','../launcher/launcher','136kqHRzM','468748rYsUba','end','SDK_POST_TEST','vanilla','../../helpers/test-observability/utils','sDQpP','../../helpers/performance/constants','9807aJvGep','run','yZQSl','../../helpers/performance/performance-tester','1170876GeZcAx','mocha'];a47_0x1714=function(){return _0x537f49;};return a47_0x1714();}exports['runTest']=async(_0xfea393,_0x5703d8)=>{const _0x158706=a47_0x1eb626,_0x1a7733={'ROcol':function(_0x535e59,_0x492b25){return _0x535e59(_0x492b25);},'sfGjo':_0x158706(0x147),'OYWcF':_0x158706(0x138),'ZPVbv':function(_0xf783cc,_0x4459ab){return _0xf783cc(_0x4459ab);}};PerformanceTester[_0x158706(0x13b)]();const _0xc30a58=_0x1a7733[_0x158706(0x13c)](require,_0x1a7733['sfGjo']),_0x363a9f=new _0xc30a58(_0x1a7733[_0x158706(0x13e)],_0xfea393,_0x5703d8),_0x14b0b7=await _0x363a9f[_0x158706(0x134)]();return PerformanceTester[_0x158706(0x12d)](PerformanceEvents[_0x158706(0x12e)]),await _0x1a7733[_0x158706(0x13d)](sleep,0x3e8),PerformanceTester['stopMonitoring'](),_0x14b0b7;},exports[a47_0x1eb626(0x146)]=async(_0x58c8e1,_0x610a04,_0x4082df,_0x22bb13,_0x2fd02a)=>{const _0x23bf5f=a47_0x1eb626,_0x1758b6={'yZQSl':function(_0x5073dd,_0x76c53d){return _0x5073dd(_0x76c53d);},'sDQpP':'../launcher/launcher','fPIBl':'cucumber-js'},_0xea6b48={'capability':_0x58c8e1,..._0x610a04},_0x5288c9={};_0x5288c9[_0x23bf5f(0x145)]=_0xea6b48,_0x5288c9['formatter']=_0x2fd02a;const _0x40dad1=_0x5288c9,_0x4eaaec=_0x1758b6[_0x23bf5f(0x135)](require,_0x1758b6[_0x23bf5f(0x131)]),_0x18c8ba=new _0x4eaaec(_0x1758b6[_0x23bf5f(0x140)],_0x40dad1,_0x4082df,_0x22bb13);return await _0x18c8ba[_0x23bf5f(0x134)]();},exports[a47_0x1eb626(0x141)]=async _0x564002=>{const _0x2f5cbd=a47_0x1eb626,_0x448dfd={'FHnwH':function(_0x2a940d,_0x473fb1){return _0x2a940d(_0x473fb1);},'NtaLr':_0x2f5cbd(0x147),'RtOXM':_0x2f5cbd(0x12f)},_0xee601a=_0x448dfd[_0x2f5cbd(0x13f)](require,_0x448dfd[_0x2f5cbd(0x139)]),_0x27c66d=new _0xee601a(_0x448dfd['RtOXM'],_0x564002);return await _0x27c66d['run']();};
|