browserstack-node-sdk 1.34.51 → 1.34.52
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_0x1e0459=a41_0x12ca;function a41_0x12ca(_0x3e9633,_0x2c6515){const _0x2fc698=a41_0x2fc6();return a41_0x12ca=function(_0x12ca64,_0x4f824b){_0x12ca64=_0x12ca64-0x8a;let _0x1a99b9=_0x2fc698[_0x12ca64];return _0x1a99b9;},a41_0x12ca(_0x3e9633,_0x2c6515);}(function(_0x85acb7,_0x4a5efe){const _0xa76921=a41_0x12ca,_0x3730aa=_0x85acb7();while(!![]){try{const _0x40563e=parseInt(_0xa76921(0x114))/0x1*(parseInt(_0xa76921(0x132))/0x2)+parseInt(_0xa76921(0x12c))/0x3*(parseInt(_0xa76921(0x166))/0x4)+-parseInt(_0xa76921(0xa6))/0x5+parseInt(_0xa76921(0xdd))/0x6*(-parseInt(_0xa76921(0xd5))/0x7)+-parseInt(_0xa76921(0xfc))/0x8+-parseInt(_0xa76921(0x18d))/0x9+parseInt(_0xa76921(0xa5))/0xa;if(_0x40563e===_0x4a5efe)break;else _0x3730aa['push'](_0x3730aa['shift']());}catch(_0x2b15de){_0x3730aa['push'](_0x3730aa['shift']());}}}(a41_0x2fc6,0xcf1f6));const RequestQueueHandler=require(a41_0x1e0459(0x13c)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x1e0459(0xe2)),{v4:uuidv4}=require('uuid'),path=require(a41_0x1e0459(0x174)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require(a41_0x1e0459(0x10f)),TestDetails=require(a41_0x1e0459(0xfa)),fs=require('fs'),util=require(a41_0x1e0459(0xd8)),{o11yClassErrorHandler}=require(a41_0x1e0459(0x16b)),PerformanceTester=require(a41_0x1e0459(0x8c)),{FRAMEWORKS}=require(a41_0x1e0459(0xad)),SessionHandler=require(a41_0x1e0459(0xcd)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),TestHubHandler=require(a41_0x1e0459(0x127)),helper=require(a41_0x1e0459(0x10f));function a41_0x2fc6(){const _0x1a44d0=['onEnd','test','TestRunFinished','uploadEventData','Trace\x20file\x20found\x20for\x20test:\x20','getTime','finishedAt','_tags','screenshot','AvwKo','OENbt','object','JKBZB','../../../helpers/testhub/testhubHandler','xqOcs','pending','Before\x20Hooks','_tests','3dUocyC','jOEoW','Expected\x20to\x20fail,\x20but\x20passed.','GlIyS','getTestIdentifier','status','21918XOLxYM','AFoRI','mtime','NJxiM','wBJEa','PLAYWRIGHT','_gitConfigPath','KaQNJ','getStepsAndLogs','failure_reason','../../../helpers/test-observability/requestQueueHandler','ZBGJJ','onStepEnd','LBiNE','printsToStdio','beforeEach\x20hook','cwd','XtSNY','kUMTH','MyReporter','BROWSERSTACK_TEST_RUN_ID','length','addTestUIDAndReportLog','message','filter','dfyTF','ndlot','startedAt','hook_run_uuid','getTestRunIdentifier','reportLogs','startsWith','skipped','passed','map','uuid','TestRunStarted','parent','retry','backtrace','xydRk','QhlPh','FPaRn','Hook\x20Started\x20with\x20unique\x20id\x20','xndhD','fwGOI','category','JkjgU','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','depth','relative','ZibIF','4277788chdtdQ','configureGit','Test\x20Finished\x20with\x20unique\x20id\x20','setup','endSession','../../../helpers/test-observability/error-handler','test_run','mkdirSync','Sending\x20session\x20details\x20for\x20','getScope','ZBsms','startTime','Sfpyy','vSzpY','path','sendSessionDetails','shutdown','SOgAw','jsJtw','CXZZL','\x20at\x20','BROWSERSTACK_O11Y_PERF_MEASUREMENT','setStepIdentifier','indexOf','cAeCZ','meta','Error\x20in\x20sending\x20trace\x20zip:\x20%s','EOwgt','ahVfs','\x20for\x20','EqERy','bBzjl','BROWSERSTACK_LOG_LEVEL','iWCnr','hErVl','EMbLm','pUUJF','QFPcj','failure_type','7436961HdJNVV','beforeAll\x20hook','failed','hXWxr','existsSync','ONXud','.txt','GDiNs','performance-report-reporter.json','../../../helpers/performance/performance-tester','UJLJz','IEVlG','_bs_hookIdentifier','wQqfe','zrolx','Fqysy','stack','ofhzu','getStepIdentifier','TEST_STEP','location','push','BEFORE_ALL','dkUWW','toString','TtSen','event_type','mjnHW','name','kcwNU','unknown','sendTestRunEvent','deiXl','dxdwX','20742820rMlfpv','1386895kiRcbr','XQsHc','RkZyL','Hook\x20Finished\x20with\x20unique\x20id\x20','getTestUUID','.browserstack','MFSmI','../../../helpers/test-observability/constants','getHierarchy','duration','failure','CBTSessionCreated','startMonitoring','options','HookRunStarted','yPWef','\x20is\x20triggered','QWyIy','trace_','UEgBd','wJlKz','aamFC','file','_gitConfigured','START_TIME','awAdk','utf8','needToReportStep','JugNI','onBegin','split','env','RfYjp','gCwHp','result','err','gaSjy','DMQHA','LogCreated','../../../helpers/test-observability/sessionHandler','ujjoa','forEach','expectedStatus','logs','After\x20Hooks','readFileSync','iGdYW','1573691dtXSzx','_projectId','DOCEy','util','onTestBegin','sNXrN','onTestEnd','2|5|3|0|4|6|1','24ySNDqH','cHgMf','tJyXN','LdjYZ','logLevel','./pwUtils','CQhhJ','afterAll\x20hook','steps','_testHooksMap','ngagp','toISOString','onStepBegin','DbeCO','attachments','QkUNm','basename','\x20is\x20triggered\x20for\x20test\x20','timedOut','vgbKp','base64','join','YrjFJ','Twsvo','jNdLm','afterEach\x20hook','XSKaz','exports','daHXm','./test-details','CHvlI','2514504ZUbXSb','hook','RBkdD','JHfGx','ZJSzO','test_run_uuid','error','title','HookRunFinished','eUVfm','jXAXt','BEFORE_EACH','PMedo','PLAYWRIGHT_TRACE_LOGS','qmqSw','statSync','UTZVZ','format','VuKKc','../../../helpers/helper','CaEyJ','getHookType','IFgJY','PLeEx','2thLwKQ','hNGqZ','nbyoy','GIXmq','SSyCj','sendHookRunEvent'];a41_0x2fc6=function(){return _0x1a44d0;};return a41_0x2fc6();}class MyReporter{constructor(_0x1da21a){const _0xff8939=a41_0x1e0459,_0x36f65a={'DMQHA':_0xff8939(0xdc),'xqOcs':function(_0x45ce03,_0x4f38ee,_0x10432c,_0x3c6179){return _0x45ce03(_0x4f38ee,_0x10432c,_0x3c6179);},'ZibIF':_0xff8939(0x8b)},_0x248125=_0x36f65a[_0xff8939(0xcb)][_0xff8939(0xc4)]('|');let _0x248774=0x0;while(!![]){switch(_0x248125[_0x248774++]){case'0':this['_testHooksMap']={};continue;case'1':this[_0xff8939(0x138)]=null;continue;case'2':const _0x51c1b0={};_0x51c1b0[_0xff8939(0xe1)]=process[_0xff8939(0xc5)][_0xff8939(0x186)],_0x36f65a[_0xff8939(0x128)](setLogLevel,_0x51c1b0,new Map(),new Map());continue;case'3':this[_0xff8939(0x12b)]={};continue;case'4':this[_0xff8939(0xb3)]=_0x1da21a;continue;case'5':process[_0xff8939(0xc5)][_0xff8939(0x17b)]&&(PerformanceTester[_0xff8939(0xb2)](_0x36f65a[_0xff8939(0x165)]),process[_0xff8939(0xc5)][_0xff8939(0xbe)]=new Date()[_0xff8939(0xe8)]());continue;case'6':this[_0xff8939(0xbd)]=![];continue;}break;}}async[a41_0x1e0459(0xc3)](){const _0x52f406=a41_0x1e0459;TestDetails[_0x52f406(0x169)](),await this[_0x52f406(0x167)]();}async[a41_0x1e0459(0xd9)](_0xd0f0bf,_0x1f6fbc){const _0x5a7d4d=a41_0x1e0459,_0x344d6a={'ahVfs':function(_0x52823d,_0x1358f5){return _0x52823d(_0x1358f5);},'hPsDw':_0x5a7d4d(0x156)},_0x40eb22=this[_0x5a7d4d(0x130)](_0xd0f0bf),_0x6c0d7f=TestDetails[_0x5a7d4d(0xaa)](this[_0x5a7d4d(0x14f)](_0xd0f0bf,_0x1f6fbc[_0x5a7d4d(0x158)]));process[_0x5a7d4d(0xc5)][_0x5a7d4d(0x146)]=_0x6c0d7f;const _0x285010={};_0x285010[_0x5a7d4d(0x155)]=_0x6c0d7f,_0x285010[_0x5a7d4d(0x14d)]=_0x1f6fbc['startTime'],this[_0x5a7d4d(0x12b)][_0x40eb22]=_0x285010,_0x344d6a[_0x5a7d4d(0x182)](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x40eb22),await this[_0x5a7d4d(0xa2)](_0xd0f0bf,_0x344d6a['hPsDw'],_0x1f6fbc);}async['onStepBegin'](_0x104590,_0x5b86a4,_0x428921){const _0x488d01=a41_0x1e0459,_0x2b3b3a={'TtSen':function(_0x5a36e7,_0x4b035b){return _0x5a36e7(_0x4b035b);},'XSKaz':_0x488d01(0xb4)};if(!this[_0x488d01(0xc1)](_0x428921,_0x104590))return;const _0x554a4e=this[_0x488d01(0x17c)](_0x104590,_0x428921);this[_0x488d01(0x12b)][_0x554a4e]={'uuid':TestDetails[_0x488d01(0xaa)](_0x554a4e),'startedAt':_0x428921[_0x488d01(0x171)][_0x488d01(0xe8)]()};const _0x4dcb1a=this[_0x488d01(0x14f)](_0x104590,_0x5b86a4[_0x488d01(0x158)]);!this[_0x488d01(0xe6)][_0x4dcb1a]&&(this[_0x488d01(0xe6)][_0x4dcb1a]=[]),this[_0x488d01(0xe6)][_0x4dcb1a][_0x488d01(0x98)](this['_tests'][_0x554a4e][_0x488d01(0x155)]),_0x2b3b3a[_0x488d01(0x9c)](trace,_0x488d01(0x15d)+_0x554a4e+_0x488d01(0xee)+_0x4dcb1a),await this['sendHookRunEvent'](_0x104590,_0x428921,_0x2b3b3a[_0x488d01(0xf7)],_0x5b86a4);}async[a41_0x1e0459(0x13e)](_0xde06d3,_0x27c2e8,_0x3a9d4f){const _0x3bc00c=a41_0x1e0459,_0x35dade={'RBkdD':function(_0x578ac0,_0x414d4d){return _0x578ac0+_0x414d4d;},'NJxiM':function(_0x218b59,_0x2b6fb8){return _0x218b59(_0x2b6fb8);},'wBphE':_0x3bc00c(0x104)};if(!this[_0x3bc00c(0xc1)](_0x3a9d4f,_0xde06d3))return;const _0x595cbc=this[_0x3bc00c(0x95)](_0xde06d3,_0x3a9d4f);this[_0x3bc00c(0x12b)][_0x595cbc]={...this[_0x3bc00c(0x12b)][_0x595cbc]||{},'finishedAt':new Date(_0x35dade[_0x3bc00c(0xfe)](_0x3a9d4f[_0x3bc00c(0x171)][_0x3bc00c(0x11f)](),_0x3a9d4f[_0x3bc00c(0xaf)]))},_0x35dade[_0x3bc00c(0x135)](trace,_0x3bc00c(0xa9)+_0x595cbc+_0x3bc00c(0xb6)),await this[_0x3bc00c(0x119)](_0xde06d3,_0x3a9d4f,_0x35dade['wBphE'],_0x27c2e8);}async[a41_0x1e0459(0xdb)](_0x16d0ed,_0x3cb260){const _0x2ecf33=a41_0x1e0459,_0x4865d9={'AFoRI':function(_0x31fbe4,_0x18ecea){return _0x31fbe4===_0x18ecea;},'CHvlI':_0x2ecf33(0x122),'HqReW':'TEST_SCREENSHOT','CXZZL':_0x2ecf33(0xf1),'ujjoa':function(_0x12a776,_0x58bcb0){return _0x12a776(_0x58bcb0);},'CaEyJ':_0x2ecf33(0x11c),'uEeTo':_0x2ecf33(0x162),'kUMTH':function(_0x182e6f,_0x4b9fdd){return _0x182e6f(_0x4b9fdd);},'QWyIy':function(_0x1e98ac,_0x2a8be5,_0x46cfb8){return _0x1e98ac(_0x2a8be5,_0x46cfb8);},'tJyXN':function(_0x134856,_0x3661d0){return _0x134856(_0x3661d0);},'dkUWW':_0x2ecf33(0x180),'ofhzu':function(_0x20296e,_0x1aac55){return _0x20296e>_0x1aac55;}},_0x39f696=this[_0x2ecf33(0x130)](_0x16d0ed),_0x260656=TestDetails['getTestUUID'](this[_0x2ecf33(0x14f)](_0x16d0ed,_0x3cb260['retry']));this[_0x2ecf33(0x12b)][_0x39f696]={...this[_0x2ecf33(0x12b)][_0x39f696]||{},'finishedAt':new Date()[_0x2ecf33(0xe8)]()},_0x4865d9[_0x2ecf33(0xce)](trace,_0x2ecf33(0x168)+_0x39f696);try{await this[_0x2ecf33(0xa2)](_0x16d0ed,_0x4865d9[_0x2ecf33(0x110)],_0x3cb260);}catch(_0x4c7e5c){_0x4865d9[_0x2ecf33(0xce)](debug,util[_0x2ecf33(0x10d)](_0x4865d9['uEeTo'],_0x4c7e5c[_0x2ecf33(0x9b)]()));}try{_0x4865d9[_0x2ecf33(0x144)](debug,'Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20'+_0x260656),await _0x4865d9[_0x2ecf33(0xb7)](sendTraceZip,_0x3cb260,_0x260656);}catch(_0x532a8a){_0x4865d9[_0x2ecf33(0xdf)](debug,util[_0x2ecf33(0x10d)](_0x4865d9[_0x2ecf33(0x9a)],_0x532a8a[_0x2ecf33(0x9b)]()));}const _0x57478e=[];_0x3cb260[_0x2ecf33(0xeb)]&&_0x3cb260[_0x2ecf33(0xeb)][_0x2ecf33(0x154)](_0x3557c9=>{const _0xf9061c=_0x2ecf33;if(_0x4865d9[_0xf9061c(0x133)](_0x3557c9[_0xf9061c(0x9f)],_0x4865d9[_0xf9061c(0xfb)])){if(!fs[_0xf9061c(0x191)](_0x3557c9[_0xf9061c(0x174)]))return;_0x57478e[_0xf9061c(0x98)]({'test_run_uuid':_0x260656,'timestamp':fs[_0xf9061c(0x10b)](_0x3557c9[_0xf9061c(0x174)])[_0xf9061c(0x134)],'kind':_0x4865d9['HqReW'],'message':fs[_0xf9061c(0xd3)](_0x3557c9[_0xf9061c(0x174)],{'encoding':_0x4865d9[_0xf9061c(0x179)]})});}}),_0x4865d9[_0x2ecf33(0x94)](_0x57478e[_0x2ecf33(0x147)],0x0)&&await MyReporter[_0x2ecf33(0x150)](_0x57478e);}async[a41_0x1e0459(0x16a)](){const _0x50369a=a41_0x1e0459;await RequestQueueHandler['getInstance']()[_0x50369a(0x176)]();}async[a41_0x1e0459(0x11a)](_0x51f759){const _0x5d8827=a41_0x1e0459,_0x4920a0={'MSslO':function(_0x337b0f){return _0x337b0f();},'QFPcj':function(_0x40131a,_0x1d4088){return _0x40131a(_0x1d4088);}};await this['endSession']();try{process['env'][_0x5d8827(0x17b)]&&await _0x4920a0['MSslO'](calculatePerformance);}catch(_0x563276){_0x4920a0[_0x5d8827(0x18b)](debug,'Error\x20in\x20calculating\x20performance:\x20'+_0x563276[_0x5d8827(0x9b)]());}}static async[a41_0x1e0459(0x148)](_0x1f08e6,_0x227741){const _0x598df1=a41_0x1e0459;_0x227741[_0x598df1(0x101)]=TestDetails[_0x598df1(0xaa)](_0x1f08e6),await this[_0x598df1(0x150)]([_0x227741]);}static async[a41_0x1e0459(0x150)](_0x14e67c){const _0x2ee112=a41_0x1e0459,_0x1280ab={};_0x1280ab[_0x2ee112(0xe3)]=_0x2ee112(0xcc);const _0x2779aa=_0x1280ab,_0x1b86ec={};_0x1b86ec[_0x2ee112(0x9d)]=_0x2779aa[_0x2ee112(0xe3)],_0x1b86ec[_0x2ee112(0xd1)]=_0x14e67c,await SessionHandler['uploadEventData'](_0x1b86ec);}async[a41_0x1e0459(0x119)](_0x3b0848,_0x1c6ebb,_0x50967d,_0x20e50f){const _0x259dc1=a41_0x1e0459,_0x4e9a01={'RkZyL':_0x259dc1(0xfd),'PUjFO':'javascript','JkjgU':'pending','cAeCZ':function(_0x68e451,_0x347b59){return _0x68e451>=_0x347b59;},'jsJtw':function(_0x423a3d,_0xee04cb){return _0x423a3d===_0xee04cb;},'QkUNm':_0x259dc1(0x104),'EOwgt':function(_0x354195,_0x26b364){return _0x354195>_0x26b364;},'nbyoy':_0x259dc1(0x18f),'GDiNs':function(_0x3914a6,_0x1346d8){return _0x3914a6(_0x1346d8);},'HQCLY':function(_0x4913aa,_0x4f5a07,_0x39aae4){return _0x4913aa(_0x4f5a07,_0x39aae4);},'ylztj':_0x259dc1(0xc9),'GIXmq':_0x259dc1(0x153)},_0x30e71b=this[_0x259dc1(0x95)](_0x3b0848,_0x1c6ebb),_0x4fd4d2=this[_0x259dc1(0x12b)][_0x30e71b],_0x52de8b={'uuid':_0x4fd4d2[_0x259dc1(0x155)],'type':_0x4e9a01[_0x259dc1(0xa8)],'hook_type':this[_0x259dc1(0x111)](_0x1c6ebb[_0x259dc1(0x103)]),'name':_0x1c6ebb[_0x259dc1(0x103)],'scope':this[_0x259dc1(0x16f)](_0x1c6ebb),'scopes':this[_0x259dc1(0xae)](_0x3b0848),'body':{'lang':_0x4e9a01['PUjFO'],'code':null},'identifier':_0x30e71b,'file_name':path[_0x259dc1(0x164)](process[_0x259dc1(0x142)](),_0x3b0848[_0x259dc1(0x97)][_0x259dc1(0xbc)]),'location':path[_0x259dc1(0x164)](process[_0x259dc1(0x142)](),_0x3b0848[_0x259dc1(0x97)]['file']),'result':_0x4e9a01[_0x259dc1(0x161)],'duration_in_ms':_0x4e9a01[_0x259dc1(0x17e)](_0x1c6ebb[_0x259dc1(0xaf)],0x0)?_0x1c6ebb[_0x259dc1(0xaf)]:undefined,'vc_filepath':this['_gitConfigPath']&&_0x3b0848[_0x259dc1(0x97)][_0x259dc1(0xbc)]?path[_0x259dc1(0x164)](this['_gitConfigPath'],_0x3b0848[_0x259dc1(0x97)][_0x259dc1(0xbc)]):undefined,'started_at':_0x4fd4d2[_0x259dc1(0x14d)],'finished_at':_0x4fd4d2['finishedAt'],'framework':FRAMEWORKS[_0x259dc1(0x137)]};if(_0x4e9a01[_0x259dc1(0x178)](_0x50967d,_0x4e9a01[_0x259dc1(0xec)])){const {steps:_0x373666,logs:_0x5e52ae}=this['getStepsAndLogs'](_0x1c6ebb['steps'],_0x4fd4d2[_0x259dc1(0x155)],_0x4e9a01[_0x259dc1(0xa8)]);_0x5e52ae&&_0x4e9a01[_0x259dc1(0x181)](_0x5e52ae[_0x259dc1(0x147)],0x0)&&await MyReporter[_0x259dc1(0x150)](_0x5e52ae);const _0x11a6dc={};_0x11a6dc['steps']=_0x373666,_0x52de8b[_0x259dc1(0x17f)]=_0x11a6dc;if(_0x1c6ebb[_0x259dc1(0x102)]){_0x52de8b[_0x259dc1(0xc8)]=_0x4e9a01[_0x259dc1(0x116)],_0x52de8b[_0x259dc1(0x13b)]=_0x4e9a01['GDiNs'](removeAnsiColors,_0x1c6ebb[_0x259dc1(0x102)][_0x259dc1(0x149)]),_0x52de8b[_0x259dc1(0x18c)]=_0x4e9a01[_0x259dc1(0x8a)](getFailureType,_0x1c6ebb['error'][_0x259dc1(0x149)]);const _0x3f4546=_0x4e9a01['HQCLY'](failureData,_0x1c6ebb['error'],_0x4e9a01['ylztj']);if(_0x3f4546&&_0x4e9a01[_0x259dc1(0x178)](_0x3f4546['length'],0x0)){const _0x1259b8={};_0x1259b8[_0x259dc1(0x159)]=[_0x52de8b[_0x259dc1(0x13b)]],_0x1259b8['expanded']=[],_0x3f4546[_0x259dc1(0x98)](_0x1259b8);}_0x52de8b[_0x259dc1(0xb0)]=_0x3f4546;}else _0x52de8b['result']=_0x4e9a01[_0x259dc1(0x117)];}const _0x2ac176={};_0x2ac176['event_type']=_0x50967d,_0x2ac176['hook_run']=_0x52de8b;const _0x28ca84=_0x2ac176;await SessionHandler[_0x259dc1(0x11d)](_0x28ca84);}['getStepsAndLogs'](_0x14421e,_0x76684e,_0x254c95){const _0x5d5b8d=a41_0x1e0459,_0x1f4c7a={'ONXud':function(_0x1e5e3b,_0x4b244d){return _0x1e5e3b===_0x4b244d;},'deiXl':_0x5d5b8d(0xfd),'wBJEa':_0x5d5b8d(0xd2),'IEVlG':_0x5d5b8d(0x12a),'AvwKo':function(_0x2d7a83,_0x318f1e){return _0x2d7a83===_0x318f1e;},'QhlPh':'test','wQqfe':_0x5d5b8d(0x101),'dBEBo':_0x5d5b8d(0x14e),'FPaRn':_0x5d5b8d(0x96),'Sfpyy':_0x5d5b8d(0x18f),'cHgMf':_0x5d5b8d(0x153),'dfyTF':function(_0x47ca4e,_0x468614){return _0x47ca4e(_0x468614);},'ngagp':function(_0x3440a3,_0x386af4){return _0x3440a3(_0x386af4);},'ZJSzO':function(_0x206cc4){return _0x206cc4();},'UJLJz':function(_0x45e3ea,_0x1ceff5){return _0x45e3ea(_0x1ceff5);},'aamFC':function(_0x3d910c,_0xe02e2d,_0x36758f){return _0x3d910c(_0xe02e2d,_0x36758f);}},_0xf2d9=[],_0x4e742e=[],_0x59cb6b=_0x14421e[_0x5d5b8d(0x14a)](_0x137a71=>{const _0x29da62=_0x5d5b8d;if(_0x1f4c7a[_0x29da62(0x192)](_0x137a71['category'],_0x1f4c7a[_0x29da62(0xa3)])&&(_0x1f4c7a['ONXud'](_0x137a71[_0x29da62(0x103)],_0x1f4c7a[_0x29da62(0x136)])||_0x1f4c7a[_0x29da62(0x192)](_0x137a71[_0x29da62(0x103)],_0x1f4c7a[_0x29da62(0x8e)])))return![];return!![];}),_0x57203d=(_0x598f83,_0x575862=![])=>{const _0x22f2a0=_0x5d5b8d;if(_0x1f4c7a[_0x22f2a0(0x123)](_0x598f83[_0x22f2a0(0xe5)][_0x22f2a0(0x147)],0x0)){const _0x2c8a5d=_0x1f4c7a[_0x22f2a0(0x123)](_0x254c95,_0x1f4c7a[_0x22f2a0(0x15b)])?_0x1f4c7a[_0x22f2a0(0x90)]:_0x1f4c7a['dBEBo'];_0x4e742e[_0x22f2a0(0x98)]({'kind':_0x1f4c7a[_0x22f2a0(0x15c)],[_0x2c8a5d]:_0x76684e,'message':_0x598f83['title'],'timestamp':_0x598f83[_0x22f2a0(0x171)][_0x22f2a0(0xe8)](),'level':_0x598f83[_0x22f2a0(0x102)]?_0x1f4c7a[_0x22f2a0(0x172)]:_0x1f4c7a['cHgMf'],'duration':_0x598f83[_0x22f2a0(0xaf)],'failure':_0x598f83[_0x22f2a0(0x102)]&&_0x598f83['error']['message']&&_0x1f4c7a[_0x22f2a0(0x14b)](removeAnsiColors,_0x598f83[_0x22f2a0(0x102)][_0x22f2a0(0x149)]),'failure_type':_0x1f4c7a[_0x22f2a0(0xe7)](getFailureType,_0x598f83[_0x22f2a0(0x102)]&&_0x598f83['error'][_0x22f2a0(0x149)])});}else{!_0x575862&&_0xf2d9['push']({'id':_0x1f4c7a[_0x22f2a0(0x100)](uuidv4),'text':_0x598f83['title'],'keyword':undefined,'started_at':_0x598f83[_0x22f2a0(0x171)][_0x22f2a0(0xe8)](),'duration':_0x598f83[_0x22f2a0(0xaf)],'result':_0x598f83[_0x22f2a0(0x102)]?_0x1f4c7a[_0x22f2a0(0x172)]:_0x1f4c7a[_0x22f2a0(0xde)],'failure':_0x598f83['error']&&_0x598f83[_0x22f2a0(0x102)][_0x22f2a0(0x149)]&&_0x1f4c7a['dfyTF'](removeAnsiColors,_0x598f83['error']['message']),'failure_type':_0x1f4c7a[_0x22f2a0(0x8d)](getFailureType,_0x598f83[_0x22f2a0(0x102)]&&_0x598f83[_0x22f2a0(0x102)][_0x22f2a0(0x149)])});for(const _0x56d14c of _0x598f83['steps']){_0x1f4c7a['aamFC'](_0x57203d,_0x56d14c,!![]);}}};for(const _0x3f7b80 of _0x59cb6b){_0x1f4c7a[_0x5d5b8d(0xbb)](_0x57203d,_0x3f7b80,![]);}const _0x49e9b9={};return _0x49e9b9[_0x5d5b8d(0xe5)]=_0xf2d9,_0x49e9b9['logs']=_0x4e742e,_0x49e9b9;}async[a41_0x1e0459(0xa2)](_0x5e116d,_0x3f6ce3,_0x3a9f12){const _0x3587fd=a41_0x1e0459,_0x48fc89={'eUVfm':function(_0x5adaeb,_0x2ad7c0){return _0x5adaeb(_0x2ad7c0);},'Twsvo':'TEST_ATTACHMENT','vgbKp':_0x3587fd(0x109),'SSyCj':_0x3587fd(0x11b),'ndlot':'javascript','NGQEL':_0x3587fd(0x129),'gCwHp':function(_0x3a3baa,_0x14639f){return _0x3a3baa(_0x14639f);},'GlIyS':function(_0x4b4803,_0x4e5658,_0x4ba77c,_0x19826c,_0x543f3c){return _0x4b4803(_0x4e5658,_0x4ba77c,_0x19826c,_0x543f3c);},'ZBGJJ':function(_0x39a3ae,_0x1e82ed){return _0x39a3ae>_0x1e82ed;},'awAdk':function(_0x560210,_0x1d3254){return _0x560210-_0x1d3254;},'iWCnr':function(_0x3b32a8,_0x1ad1a){return _0x3b32a8===_0x1ad1a;},'YEnvn':_0x3587fd(0x11c),'RfYjp':function(_0x162716,_0x2d4d52){return _0x162716===_0x2d4d52;},'LdjYZ':_0x3587fd(0x152),'gaSjy':_0x3587fd(0x153),'pUUJF':function(_0x277552,_0x17434d){return _0x277552===_0x17434d;},'Eslag':function(_0x2fab19,_0x21ac9d){return _0x2fab19===_0x21ac9d;},'DOCEy':'failed','UTZVZ':_0x3587fd(0xef),'dxdwX':function(_0x320665,_0x6cdf97){return _0x320665===_0x6cdf97;},'YrjFJ':function(_0x1228d8,_0x5ec548){return _0x1228d8===_0x5ec548;},'XQsHc':_0x3587fd(0x12e),'daHXm':function(_0x54304d,_0x4cfc4c){return _0x54304d(_0x4cfc4c);},'jNdLm':function(_0x5050dc,_0x47a65a){return _0x5050dc(_0x47a65a);},'OENbt':function(_0x5b928f,_0x1218f5,_0x10e7c8){return _0x5b928f(_0x1218f5,_0x10e7c8);},'KaQNJ':function(_0x24243c,_0x222887){return _0x24243c===_0x222887;},'MFSmI':_0x3587fd(0x174),'ZBsms':function(_0x2eb53c,_0x2e7a0c){return _0x2eb53c(_0x2e7a0c);},'IFgJY':_0x3587fd(0xab),'AcnbM':_0x3587fd(0xc0),'DsNfM':function(_0x1ff17a,_0x3b5719){return _0x1ff17a(_0x3b5719);},'vSzpY':function(_0x4d7d24,_0x51c7a8){return _0x4d7d24!==_0x51c7a8;},'UEgBd':function(_0xe1c66f,_0x3b65df){return _0xe1c66f===_0x3b65df;}},_0x8661bf=this[_0x3587fd(0x130)](_0x5e116d),_0x2bab30=this['getScope'](_0x5e116d),_0x539764=this[_0x3587fd(0x12b)][_0x8661bf],_0x55645d=path[_0x3587fd(0x164)](process[_0x3587fd(0x142)](),_0x5e116d[_0x3587fd(0x97)]['file']);await this[_0x3587fd(0x167)]();const _0x360500={'uuid':_0x539764[_0x3587fd(0x155)],'type':_0x48fc89[_0x3587fd(0x118)],'name':_0x5e116d[_0x3587fd(0x103)],'body':{'lang':_0x48fc89[_0x3587fd(0x14c)],'code':_0x5e116d['fn']['toString']()},'scope':_0x2bab30,'scopes':this[_0x3587fd(0xae)](_0x5e116d),'identifier':_0x8661bf,'file_name':_0x55645d,'location':_0x55645d,'result':_0x48fc89['NGQEL'],'duration_in_ms':_0x3a9f12&&_0x3a9f12[_0x3587fd(0xaf)]?_0x3a9f12[_0x3587fd(0xaf)]:null,'vc_filepath':this[_0x3587fd(0x138)]&&_0x5e116d[_0x3587fd(0x97)][_0x3587fd(0xbc)]?path[_0x3587fd(0x164)](this[_0x3587fd(0x138)],_0x5e116d[_0x3587fd(0x97)][_0x3587fd(0xbc)]):undefined,'started_at':_0x539764[_0x3587fd(0x14d)],'finished_at':_0x539764[_0x3587fd(0x120)],'framework':FRAMEWORKS[_0x3587fd(0x137)],'customRerunParam':{'rerun_name':this['getCustomRerunParam'](_0x5e116d)},'tags':_0x48fc89[_0x3587fd(0xc7)](getTestTags,_0x5e116d)};_0x48fc89[_0x3587fd(0x12f)](appendTesthubParams,_0x360500,_0x3f6ce3,_0x5e116d,FRAMEWORKS[_0x3587fd(0x137)]);_0x3a9f12&&_0x48fc89[_0x3587fd(0x13d)](_0x3a9f12[_0x3587fd(0x158)],0x0)&&(_0x360500['retry_of']=TestDetails['getTestUUID'](this[_0x3587fd(0x14f)](_0x5e116d,_0x48fc89[_0x3587fd(0xbf)](_0x3a9f12[_0x3587fd(0x158)],0x1))));if(_0x48fc89[_0x3587fd(0x187)](_0x3f6ce3,_0x48fc89['YEnvn'])){_0x360500[_0x3587fd(0xc8)]=_0x3a9f12[_0x3587fd(0x131)];if(_0x48fc89[_0x3587fd(0xc6)](_0x3a9f12[_0x3587fd(0x131)],_0x5e116d[_0x3587fd(0xd0)]))_0x360500[_0x3587fd(0xc8)]=_0x48fc89['RfYjp'](_0x3a9f12[_0x3587fd(0x131)],_0x48fc89[_0x3587fd(0xe0)])?_0x48fc89[_0x3587fd(0xe0)]:_0x48fc89[_0x3587fd(0xca)];else{(_0x48fc89[_0x3587fd(0x18a)](_0x360500[_0x3587fd(0xc8)],_0x48fc89['gaSjy'])||_0x48fc89['Eslag'](_0x360500['result'],_0x48fc89[_0x3587fd(0xd7)])||_0x48fc89['RfYjp'](_0x360500[_0x3587fd(0xc8)],_0x48fc89[_0x3587fd(0x10c)]))&&(_0x360500[_0x3587fd(0xc8)]=_0x48fc89[_0x3587fd(0xd7)]);if(_0x48fc89[_0x3587fd(0xa4)](_0x3a9f12['status'],_0x48fc89[_0x3587fd(0xca)])&&_0x48fc89[_0x3587fd(0xf3)](_0x5e116d['expectedStatus'],_0x48fc89[_0x3587fd(0xd7)])){const _0x14107d={};_0x14107d[_0x3587fd(0x149)]=_0x48fc89[_0x3587fd(0xa7)],_0x14107d[_0x3587fd(0x93)]=_0x48fc89[_0x3587fd(0xa7)],_0x3a9f12[_0x3587fd(0x102)]=_0x14107d,_0x3a9f12['errors']=[_0x3a9f12[_0x3587fd(0x102)]];}}const _0x567ed8=this['getTestRunIdentifier'](_0x5e116d,_0x3a9f12['retry']);_0x360500['hooks']=this[_0x3587fd(0xe6)][_0x567ed8];const {steps:_0x24aa65,logs:_0x5140c3}=this[_0x3587fd(0x13a)](_0x3a9f12[_0x3587fd(0xe5)],_0x539764[_0x3587fd(0x155)],_0x48fc89['SSyCj']);await MyReporter[_0x3587fd(0x150)](_0x5140c3);const _0x111594={};_0x111594[_0x3587fd(0xe5)]=_0x24aa65,_0x360500[_0x3587fd(0x17f)]=_0x111594;if(_0x3a9f12[_0x3587fd(0x102)]){_0x360500[_0x3587fd(0x13b)]=_0x48fc89[_0x3587fd(0xf9)](removeAnsiColors,_0x3a9f12['error'][_0x3587fd(0x149)]),_0x360500[_0x3587fd(0x18c)]=_0x48fc89[_0x3587fd(0xf5)](getFailureType,_0x3a9f12['error']['message']);const _0x4c0944={};_0x4c0944[_0x3587fd(0x101)]=_0x539764[_0x3587fd(0x155)];const {failureData:_0x4bef86,logs:_0x4619fd}=_0x48fc89[_0x3587fd(0x124)](getFailureData,_0x3a9f12['errors'],_0x4c0944);if(_0x4bef86&&_0x48fc89[_0x3587fd(0x139)](_0x4bef86[_0x3587fd(0x147)],0x0)){const _0x17f9c0={};_0x17f9c0[_0x3587fd(0x159)]=[_0x360500[_0x3587fd(0x13b)]],_0x17f9c0['expanded']=[],_0x4bef86[_0x3587fd(0x98)](_0x17f9c0);}_0x360500[_0x3587fd(0xb0)]=_0x4bef86,_0x4619fd&&_0x48fc89[_0x3587fd(0x13d)](_0x4619fd[_0x3587fd(0x147)],0x0)&&await MyReporter[_0x3587fd(0x150)](_0x4619fd);}}let _0xc44c5b=_0x48fc89['OENbt'](findNestedKey,_0x3a9f12,_0x48fc89[_0x3587fd(0xac)]);if(_0xc44c5b&&_0x48fc89[_0x3587fd(0x170)](validateFilePath,_0xc44c5b))_0x48fc89[_0x3587fd(0x170)](debug,_0x3587fd(0x11e)+_0x539764[_0x3587fd(0x155)]+_0x3587fd(0x17a)+_0xc44c5b);else{const _0x58f744=path[_0x3587fd(0xf2)](helper['homedir'](),_0x48fc89[_0x3587fd(0x112)]);!fs[_0x3587fd(0x191)](_0x58f744)&&fs[_0x3587fd(0x16d)](_0x58f744),fs[_0x3587fd(0x191)](path[_0x3587fd(0xf2)](_0x58f744,_0x3587fd(0xb8)+_0x539764[_0x3587fd(0x155)]+_0x3587fd(0x193)))&&(_0xc44c5b=fs[_0x3587fd(0xd3)](path['join'](_0x58f744,_0x3587fd(0xb8)+_0x539764[_0x3587fd(0x155)]+_0x3587fd(0x193)),_0x48fc89['AcnbM']),_0x48fc89['DsNfM'](debug,_0x3587fd(0x11e)+_0x539764[_0x3587fd(0x155)]+_0x3587fd(0x17a)+_0xc44c5b));}const _0x11d814={};_0x11d814[_0x3587fd(0x9d)]=_0x3f6ce3,_0x11d814[_0x3587fd(0x16c)]=_0x360500;const _0x278217=_0x11d814;_0xc44c5b&&_0x48fc89[_0x3587fd(0x173)](_0xc44c5b,'')&&_0x48fc89[_0x3587fd(0xb9)](_0x3f6ce3,_0x48fc89['YEnvn'])&&(!_0x278217[_0x3587fd(0xd1)]&&(_0x278217[_0x3587fd(0xd1)]=[]),_0xc44c5b[_0x3587fd(0xc4)]('\x0a')[_0x3587fd(0xcf)](_0xcc2b63=>{const _0x250db1=_0x3587fd;_0xcc2b63&&_0x48fc89[_0x250db1(0x105)](validateFilePath,_0xcc2b63)&&_0x278217[_0x250db1(0xd1)][_0x250db1(0x98)]({'kind':_0x48fc89[_0x250db1(0xf4)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x539764[_0x250db1(0x155)],'file_name':path[_0x250db1(0xed)](_0xcc2b63),'file_size':fs['statSync'](_0xcc2b63)['size'],'attachment_type':_0x48fc89[_0x250db1(0xf0)]});})),await SessionHandler[_0x3587fd(0x11d)](_0x278217);}['getCustomRerunParam'](_0x542bbe){const _0x2d106e=a41_0x1e0459,_0x56ae39={};_0x56ae39[_0x2d106e(0xba)]=function(_0x2f1fea,_0x2dca12){return _0x2f1fea===_0x2dca12;},_0x56ae39[_0x2d106e(0xd4)]=function(_0x66197,_0x3dc7ad){return _0x66197>_0x3dc7ad;},_0x56ae39['jOEoW']=function(_0x4a13de,_0x2a9815){return _0x4a13de+_0x2a9815;},_0x56ae39[_0x2d106e(0x15a)]=function(_0x17ad68,_0x248322){return _0x17ad68+_0x248322;},_0x56ae39[_0x2d106e(0x184)]=function(_0x4800bc,_0x12e8b0){return _0x4800bc>_0x12e8b0;};const _0x161535=_0x56ae39,_0x397749=_0x542bbe['titlePath']()['map'](_0x3fbb27=>{const _0x5f5bdd=_0x2d106e;if(_0x542bbe[_0x5f5bdd(0x157)]&&_0x161535[_0x5f5bdd(0xba)](_0x3fbb27,_0x542bbe['parent'][_0x5f5bdd(0x103)])&&_0x542bbe[_0x5f5bdd(0x157)][_0x5f5bdd(0x121)]&&_0x161535[_0x5f5bdd(0xd4)](_0x542bbe['parent'][_0x5f5bdd(0x121)]['length'],0x0))return _0x161535[_0x5f5bdd(0x12d)](_0x161535[_0x5f5bdd(0x15a)](_0x3fbb27,'\x20'),_0x542bbe[_0x5f5bdd(0x157)][_0x5f5bdd(0x121)][_0x5f5bdd(0xf2)]('\x20'));if(_0x161535[_0x5f5bdd(0xba)](_0x3fbb27,_0x542bbe[_0x5f5bdd(0x103)])&&_0x542bbe[_0x5f5bdd(0x121)]&&_0x161535[_0x5f5bdd(0x184)](_0x542bbe['_tags']['length'],0x0))return _0x161535[_0x5f5bdd(0x12d)](_0x161535[_0x5f5bdd(0x12d)](_0x3fbb27,'\x20'),_0x542bbe['_tags'][_0x5f5bdd(0xf2)]('\x20'));return _0x3fbb27;})[_0x2d106e(0xf2)]('\x20');return _0x397749;}static async[a41_0x1e0459(0x175)](_0x33cd7e,_0x287dcb){const _0x5e5b19=a41_0x1e0459,_0x596c16={'fwGOI':function(_0x266aea,_0x5d664e){return _0x266aea(_0x5d664e);},'sNXrN':_0x5e5b19(0xb1)},_0x5f3d4d={'uuid':TestDetails[_0x5e5b19(0xaa)](_0x33cd7e),'integrations':_0x287dcb},_0x3b50fe={};_0x3b50fe[_0x5e5b19(0x163)]=null,_0x596c16[_0x5e5b19(0x15f)](debug,_0x5e5b19(0x16e)+_0x33cd7e+',\x20'+util['inspect'](_0x287dcb,_0x3b50fe));const _0x9731a2={};_0x9731a2[_0x5e5b19(0x9d)]=_0x596c16[_0x5e5b19(0xda)],_0x9731a2[_0x5e5b19(0x16c)]=_0x5f3d4d,await SessionHandler[_0x5e5b19(0x11d)](_0x9731a2);}async[a41_0x1e0459(0x167)](){const _0x34a9cd=a41_0x1e0459,_0x452997={'JHfGx':function(_0x1ec640){return _0x1ec640();}};if(this[_0x34a9cd(0xbd)])return;const _0x7ec8cb=await _0x452997[_0x34a9cd(0xff)](getGitMetaData);_0x7ec8cb&&(this[_0x34a9cd(0x138)]=_0x7ec8cb['root']),this[_0x34a9cd(0xbd)]=!![];}['getHierarchy'](_0x2dc9f4){const _0x1b468a=a41_0x1e0459,_0x826322={};_0x826322['mjnHW']=function(_0x39e3db,_0x4959a1){return _0x39e3db!==_0x4959a1;};const _0x1f0789=_0x826322,_0x2d86c9=[];if(_0x2dc9f4&&_0x2dc9f4[_0x1b468a(0x157)]){let _0x101748=_0x2dc9f4['parent'];while(_0x101748&&_0x1f0789[_0x1b468a(0x9e)](_0x101748[_0x1b468a(0x103)],'')){_0x2d86c9[_0x1b468a(0x98)](_0x101748['title']),_0x101748=_0x101748['parent'];}}return _0x2d86c9['reverse']()['splice'](0x0,0x2),_0x2d86c9;}[a41_0x1e0459(0xc1)](_0xd0a5d1){const _0x11f534=a41_0x1e0459,_0x30f639={};_0x30f639['hNGqZ']=function(_0x569a7c,_0x3da89a){return _0x569a7c!==_0x3da89a;},_0x30f639[_0x11f534(0xb5)]=_0x11f534(0xfd),_0x30f639[_0x11f534(0x177)]=function(_0x38a3a5,_0x54fd29){return _0x38a3a5===_0x54fd29;},_0x30f639[_0x11f534(0x108)]=_0x11f534(0x141),_0x30f639['tYUrN']=_0x11f534(0x18e),_0x30f639[_0x11f534(0x10a)]=_0x11f534(0xe4),_0x30f639[_0x11f534(0x143)]='afterEach\x20hook';const _0x5c9a4c=_0x30f639;if(_0x5c9a4c[_0x11f534(0x115)](_0xd0a5d1[_0x11f534(0x160)],_0x5c9a4c[_0x11f534(0xb5)]))return![];if(_0x5c9a4c[_0x11f534(0x177)]([_0x5c9a4c[_0x11f534(0x108)],_0x5c9a4c['tYUrN'],_0x5c9a4c[_0x11f534(0x10a)],_0x5c9a4c[_0x11f534(0x143)]][_0x11f534(0x17d)](_0xd0a5d1['title']),-0x1))return![];return!![];}[a41_0x1e0459(0x95)](_0x2e14a9,_0x1a5743){const _0x4c1fbc=a41_0x1e0459,_0x1d2415=_0x1a5743[_0x4c1fbc(0x8f)];if(_0x1d2415)return _0x1d2415;return _0x1a5743[_0x4c1fbc(0x103)]+_0x4c1fbc(0x183)+this['getTestIdentifier'](_0x2e14a9);}[a41_0x1e0459(0x17c)](_0x2b7a70,_0x4b750a){const _0x218bd8=a41_0x1e0459,_0x34441e={'VuKKc':function(_0x36ba73){return _0x36ba73();}};let _0x5b07e0=_0x4b750a[_0x218bd8(0x103)]+_0x218bd8(0x183)+this[_0x218bd8(0x130)](_0x2b7a70);return this[_0x218bd8(0x12b)][_0x5b07e0]&&(_0x5b07e0=_0x5b07e0+'\x20-\x20'+_0x34441e[_0x218bd8(0x10e)](uuidv4)),_0x4b750a[_0x218bd8(0x8f)]=_0x5b07e0,_0x5b07e0;}['getTestIdentifier']=_0x4b73e6=>{const _0x5987d7=a41_0x1e0459,_0x536b03={};_0x536b03[_0x5987d7(0x92)]=function(_0x1c987c,_0x34919a){return _0x1c987c+_0x34919a;},_0x536b03['JKBZB']=function(_0xe5ffdb,_0x38102b){return _0xe5ffdb+_0x38102b;};const _0x4212a9=_0x536b03;return _0x4212a9['Fqysy'](_0x4212a9[_0x5987d7(0x126)](_0x4b73e6[_0x5987d7(0xd6)],'-'),_0x4b73e6['id']);};[a41_0x1e0459(0x14f)]=(_0x55c6ad,_0x11467b)=>{const _0x1cf3ba=a41_0x1e0459,_0x23dc62={};_0x23dc62['EMbLm']=function(_0x361d15,_0x2c41a7){return _0x361d15+_0x2c41a7;},_0x23dc62[_0x1cf3ba(0x190)]=function(_0x2a6af9,_0x1cf1fd){return _0x2a6af9+_0x1cf1fd;};const _0x21c5c3=_0x23dc62;return _0x21c5c3[_0x1cf3ba(0x189)](_0x21c5c3[_0x1cf3ba(0x190)](this[_0x1cf3ba(0x130)](_0x55c6ad),'-'),_0x11467b);};['getHookType']=_0x1956e4=>{const _0x45fc28=a41_0x1e0459,_0xd9c2b9={};_0xd9c2b9[_0x45fc28(0x91)]='beforeEach\x20hook',_0xd9c2b9['ObWEc']=_0x45fc28(0x107),_0xd9c2b9[_0x45fc28(0x185)]=_0x45fc28(0x18e),_0xd9c2b9[_0x45fc28(0x13f)]=_0x45fc28(0x99),_0xd9c2b9[_0x45fc28(0x188)]=_0x45fc28(0xf6),_0xd9c2b9['kcwNU']='AFTER_EACH',_0xd9c2b9[_0x45fc28(0x15e)]=_0x45fc28(0xe4),_0xd9c2b9['JugNI']='AFTER_ALL',_0xd9c2b9[_0x45fc28(0xea)]=_0x45fc28(0xa1);const _0x34a105=_0xd9c2b9;if(_0x1956e4[_0x45fc28(0x151)](_0x34a105[_0x45fc28(0x91)]))return _0x34a105['ObWEc'];else{if(_0x1956e4[_0x45fc28(0x151)](_0x34a105[_0x45fc28(0x185)]))return _0x34a105[_0x45fc28(0x13f)];else{if(_0x1956e4[_0x45fc28(0x151)](_0x34a105[_0x45fc28(0x188)]))return _0x34a105[_0x45fc28(0xa0)];else{if(_0x1956e4[_0x45fc28(0x151)](_0x34a105[_0x45fc28(0x15e)]))return _0x34a105[_0x45fc28(0xc2)];}}}return _0x34a105[_0x45fc28(0xea)];};[a41_0x1e0459(0x16f)]=_0x3d9d8b=>{const _0x399bc2=a41_0x1e0459,_0x51b81e={};_0x51b81e['jXAXt']=function(_0x484e44,_0x12f9f1){return _0x484e44===_0x12f9f1;},_0x51b81e[_0x399bc2(0x113)]=_0x399bc2(0x125);const _0xa29246=_0x51b81e;let _0x1544c0=_0x3d9d8b[_0x399bc2(0x157)];return _0xa29246[_0x399bc2(0x106)](typeof _0x3d9d8b[_0x399bc2(0x157)],_0xa29246['PLeEx'])&&(_0x1544c0=_0x1544c0[_0x399bc2(0x103)]),_0x1544c0+'\x20-\x20'+_0x3d9d8b[_0x399bc2(0x103)];};[a41_0x1e0459(0x140)](){return![];}}module[a41_0x1e0459(0xf8)]=o11yClassErrorHandler(MyReporter,[a41_0x1e0459(0xc3),a41_0x1e0459(0x16a),a41_0x1e0459(0xd9),a41_0x1e0459(0xdb),a41_0x1e0459(0xe9),a41_0x1e0459(0x13e),a41_0x1e0459(0x175)],a41_0x1e0459(0x145));
|
|
1
|
+
function a41_0x4274(_0x45c60f,_0x9b6ea0){const _0x56ce93=a41_0x56ce();return a41_0x4274=function(_0x4274c4,_0x4ab09f){_0x4274c4=_0x4274c4-0x83;let _0xc05601=_0x56ce93[_0x4274c4];return _0xc05601;},a41_0x4274(_0x45c60f,_0x9b6ea0);}const a41_0x16af38=a41_0x4274;function a41_0x56ce(){const _0x4f68fa=['_bs_hookIdentifier','oHiFz','14gEkhCy','wexgO','cwd','atHmM','hEPaS','DBnst','qnxTk','finishedAt','EqkwZ','title','utf8','MptGd','getStepIdentifier','env','sendSessionDetails','_tests','getTestIdentifier','map','_tags','TestRunFinished','xSlSd','reportLogs','uploadEventData','\x20at\x20','BEFORE_ALL','unknown','beforeAll\x20hook','../../../helpers/helper','setup','qIRPb','getTestRunIdentifier','inspect','AFTER_ALL','\x20is\x20triggered\x20for\x20test\x20','onTestBegin','../../../helpers/performance/performance-tester','TestRunStarted','onStepBegin','mkdirSync','BROWSERSTACK_LOG_LEVEL','onEnd','getHookType','message','OWUOL','ZhOvc','pOKky','KcbfF','Zxcrx','JbDBb','getCustomRerunParam','Wnebl','_gitConfigured','LyFrw','attachments','Sending\x20session\x20details\x20for\x20','3377620ytdZUW','SixMj','pending','failed','RIeky','splice','xsUZa','afterEach\x20hook','tlLNW','START_TIME','\x20-\x20','IssNh','getScope','PLAYWRIGHT_TRACE_LOGS','Error\x20in\x20sending\x20trace\x20zip:\x20%s','5|6|2|4|0|3|1','\x20for\x20','uJqOd','hook_run_uuid','SoXnA','Error\x20in\x20calculating\x20performance:\x20','PpqSf','sendHookRunEvent','getTime','JKmPF','oQvVd','Trace\x20file\x20found\x20for\x20test:\x20','GQLYy','../../../helpers/testhub/testhubHandler','location','category','vbSQD','startsWith','mAWoZ','endSession','CBTSessionCreated','TEST_ATTACHMENT','hook','PLAYWRIGHT','Dqmtf','error','screenshot','eaYrX','test_run_uuid','../../../helpers/test-observability/constants','tXtgu','pwLMj','EXTNc','getTestUUID','zPLIO','configureGit','relative','BROWSERSTACK_TEST_RUN_ID','size','status','BCWeH','Jdidg','startTime','statSync','_testHooksMap','yPyrT','needToReportStep','mtime','PzWiq','yLVfj','BROWSERSTACK_O11Y_PERF_MEASUREMENT','YMukD','retry','kNgLm','_gitConfigPath','broAh','ePTWX','existsSync','FybAU','toString','fRvny','BEFORE_EACH','qGKyX','failure_reason','fAuDI','afterAll\x20hook','3734RGOcOG','eRKbC','exports','wbBIG','./pwUtils','backtrace','omzGN','Hook\x20Finished\x20with\x20unique\x20id\x20','kSXkP','addTestUIDAndReportLog','AFTER_EACH','../../../helpers/test-observability/utils','test','logs','VjAmX','BOtJg','getHierarchy','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','getInstance','format','yMfLv','2822676MWhvvE','err','kYsfy','BXRFO','DMCuX','steps','push','hooks','vQsCo','ySGMy','retry_of','event_type','skipped','readFileSync','getStepsAndLogs','toISOString','pvBad','basename','timedOut','UnxNY','SKhQs','root','result','LPsjD','split','EFmEJ','errors','ihXoY','OMKxK','beforeEach\x20hook','.txt','forEach','passed','pQYrI','VQSAR','9642996oBHqni','QzRmc','ILAjn','ueKHJ','startedAt','titlePath','join','onStepEnd','DQmKT','../../../helpers/test-observability/error-handler','Before\x20Hooks','OzbNH','./test-details','trace_','shutdown','TEST_SCREENSHOT','HbAPu','length','ecEKb','eaPkP','expectedStatus','cQsfD','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','onTestEnd','logLevel','uyYYA','AZpTQ','parent','test_run','396MlHmCb','roevV','LogCreated','IstqD','Expected\x20to\x20fail,\x20but\x20passed.','printsToStdio','javascript','rhZQd','Test\x20Finished\x20with\x20unique\x20id\x20','uuid','GFvMm','file','737710xpXrTu','name','8020464tWVWWx','Fvxxi','path','../../../helpers/test-observability/sessionHandler','sendTestRunEvent','epSXU','3278705dMRbyW','Wztbv','CWepi','GtCRG','After\x20Hooks','aLUbM','Zygdt','DDROa','GAOWN','HookRunFinished','failure_type','HBMfG','duration','YiYyO','depth','\x20is\x20triggered','onBegin','cohAU'];a41_0x56ce=function(){return _0x4f68fa;};return a41_0x56ce();}(function(_0x4e9df2,_0x269158){const _0x428425=a41_0x4274,_0x41f580=_0x4e9df2();while(!![]){try{const _0x4ad17f=-parseInt(_0x428425(0x182))/0x1+-parseInt(_0x428425(0x121))/0x2*(-parseInt(_0x428425(0x176))/0x3)+parseInt(_0x428425(0xd0))/0x4+-parseInt(_0x428425(0x85))/0x5+-parseInt(_0x428425(0x136))/0x6*(-parseInt(_0x428425(0x99))/0x7)+parseInt(_0x428425(0x184))/0x8+-parseInt(_0x428425(0x159))/0x9;if(_0x4ad17f===_0x269158)break;else _0x41f580['push'](_0x41f580['shift']());}catch(_0x27c82f){_0x41f580['push'](_0x41f580['shift']());}}}(a41_0x56ce,0x8b03c));const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x16af38(0x125)),{v4:uuidv4}=require('uuid'),path=require('path'),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a41_0x16af38(0x12c)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a41_0x16af38(0x165)),fs=require('fs'),util=require('util'),{o11yClassErrorHandler}=require(a41_0x16af38(0x162)),PerformanceTester=require(a41_0x16af38(0xbc)),{FRAMEWORKS}=require(a41_0x16af38(0xfc)),SessionHandler=require(a41_0x16af38(0x187)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),TestHubHandler=require(a41_0x16af38(0xec)),helper=require(a41_0x16af38(0xb4));class MyReporter{constructor(_0x1c9e3c){const _0x2b4dc2=a41_0x16af38,_0x308bba={'VQSAR':_0x2b4dc2(0xdf),'qIRPb':function(_0x436ae3,_0x15c099,_0x1fbef0,_0x4045ce){return _0x436ae3(_0x15c099,_0x1fbef0,_0x4045ce);},'yeMbO':'performance-report-reporter.json'},_0x3e6c2f=_0x308bba[_0x2b4dc2(0x158)][_0x2b4dc2(0x14e)]('|');let _0x442256=0x0;while(!![]){switch(_0x3e6c2f[_0x442256++]){case'0':this['options']=_0x1c9e3c;continue;case'1':this[_0x2b4dc2(0x115)]=null;continue;case'2':this[_0x2b4dc2(0xa8)]={};continue;case'3':this['_gitConfigured']=![];continue;case'4':this[_0x2b4dc2(0x10b)]={};continue;case'5':const _0x578980={};_0x578980[_0x2b4dc2(0x171)]=process['env'][_0x2b4dc2(0xc0)],_0x308bba[_0x2b4dc2(0xb6)](setLogLevel,_0x578980,new Map(),new Map());continue;case'6':process[_0x2b4dc2(0xa6)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester['startMonitoring'](_0x308bba['yeMbO']),process[_0x2b4dc2(0xa6)][_0x2b4dc2(0xd9)]=new Date()[_0x2b4dc2(0x145)]());continue;}break;}}async[a41_0x16af38(0x95)](){const _0x1a3d04=a41_0x16af38;TestDetails[_0x1a3d04(0xb5)](),await this['configureGit']();}async[a41_0x16af38(0xbb)](_0x1b77a8,_0x4aab1a){const _0x105cab=a41_0x16af38,_0x38867a={'SoXnA':function(_0x4c9ad0,_0x3b548a){return _0x4c9ad0(_0x3b548a);},'YiYyO':_0x105cab(0xbd)},_0x3391e6=this[_0x105cab(0xa9)](_0x1b77a8),_0x2e4f4b=TestDetails['getTestUUID'](this['getTestRunIdentifier'](_0x1b77a8,_0x4aab1a['retry']));process['env'][_0x105cab(0x104)]=_0x2e4f4b;const _0x5d515d={};_0x5d515d[_0x105cab(0x17f)]=_0x2e4f4b,_0x5d515d['startedAt']=_0x4aab1a['startTime'],this[_0x105cab(0xa8)][_0x3391e6]=_0x5d515d,_0x38867a[_0x105cab(0xe3)](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x3391e6),await this[_0x105cab(0x83)](_0x1b77a8,_0x38867a[_0x105cab(0x92)],_0x4aab1a);}async[a41_0x16af38(0xbe)](_0x4ac864,_0x4595cc,_0x392c20){const _0x2fcb35=a41_0x16af38,_0x7b1b77={'BOtJg':function(_0x7ee8f3,_0x4316e9){return _0x7ee8f3(_0x4316e9);},'hEPaS':'HookRunStarted'};if(!this[_0x2fcb35(0x10d)](_0x392c20,_0x4ac864))return;const _0x3a12b9=this['setStepIdentifier'](_0x4ac864,_0x392c20);this['_tests'][_0x3a12b9]={'uuid':TestDetails[_0x2fcb35(0x100)](_0x3a12b9),'startedAt':_0x392c20[_0x2fcb35(0x109)]['toISOString']()};const _0x1a283e=this[_0x2fcb35(0xb7)](_0x4ac864,_0x4595cc[_0x2fcb35(0x113)]);!this[_0x2fcb35(0x10b)][_0x1a283e]&&(this[_0x2fcb35(0x10b)][_0x1a283e]=[]),this['_testHooksMap'][_0x1a283e]['push'](this[_0x2fcb35(0xa8)][_0x3a12b9][_0x2fcb35(0x17f)]),_0x7b1b77[_0x2fcb35(0x130)](trace,'Hook\x20Started\x20with\x20unique\x20id\x20'+_0x3a12b9+_0x2fcb35(0xba)+_0x1a283e),await this[_0x2fcb35(0xe6)](_0x4ac864,_0x392c20,_0x7b1b77[_0x2fcb35(0x9d)],_0x4595cc);}async['onStepEnd'](_0x49bd2f,_0x356a41,_0x180e26){const _0x4131e3=a41_0x16af38,_0x336744={'Zxcrx':function(_0x5ce583,_0x1f7f44){return _0x5ce583+_0x1f7f44;},'ILAjn':function(_0x4ab31e,_0x9a8a29){return _0x4ab31e(_0x9a8a29);},'Wztbv':_0x4131e3(0x8e)};if(!this['needToReportStep'](_0x180e26,_0x49bd2f))return;const _0x59d63b=this[_0x4131e3(0xa5)](_0x49bd2f,_0x180e26);this[_0x4131e3(0xa8)][_0x59d63b]={...this[_0x4131e3(0xa8)][_0x59d63b]||{},'finishedAt':new Date(_0x336744[_0x4131e3(0xc8)](_0x180e26[_0x4131e3(0x109)][_0x4131e3(0xe7)](),_0x180e26['duration']))},_0x336744[_0x4131e3(0x15b)](trace,_0x4131e3(0x128)+_0x59d63b+_0x4131e3(0x94)),await this['sendHookRunEvent'](_0x49bd2f,_0x180e26,_0x336744[_0x4131e3(0x86)],_0x356a41);}async[a41_0x16af38(0x170)](_0x463191,_0x1960a4){const _0x3f1303=a41_0x16af38,_0x1aec57={'VjRdv':function(_0x213f4f,_0x14bdb7){return _0x213f4f===_0x14bdb7;},'JbDBb':_0x3f1303(0xf9),'RIeky':_0x3f1303(0x168),'LPsjD':'base64','MarJj':function(_0x330ba1,_0x3ff5c2){return _0x330ba1(_0x3ff5c2);},'SixMj':_0x3f1303(0xac),'omzGN':function(_0x47172c,_0x33c5e8){return _0x47172c(_0x33c5e8);},'vbSQD':_0x3f1303(0x16f),'BXRFO':function(_0x35e4fb,_0x45fa6b,_0x4d56b8){return _0x35e4fb(_0x45fa6b,_0x4d56b8);},'ySGMy':_0x3f1303(0xde),'cohAU':function(_0x1902bd,_0x4e6cd9){return _0x1902bd>_0x4e6cd9;}},_0x173250=this[_0x3f1303(0xa9)](_0x463191),_0x203537=TestDetails[_0x3f1303(0x100)](this[_0x3f1303(0xb7)](_0x463191,_0x1960a4['retry']));this[_0x3f1303(0xa8)][_0x173250]={...this[_0x3f1303(0xa8)][_0x173250]||{},'finishedAt':new Date()[_0x3f1303(0x145)]()},_0x1aec57['MarJj'](trace,_0x3f1303(0x17e)+_0x173250);try{await this[_0x3f1303(0x83)](_0x463191,_0x1aec57[_0x3f1303(0xd1)],_0x1960a4);}catch(_0x24cb20){_0x1aec57['omzGN'](debug,util[_0x3f1303(0x134)](_0x1aec57[_0x3f1303(0xef)],_0x24cb20[_0x3f1303(0x11a)]()));}try{_0x1aec57['omzGN'](debug,_0x3f1303(0x132)+_0x203537),await _0x1aec57[_0x3f1303(0x139)](sendTraceZip,_0x1960a4,_0x203537);}catch(_0x33ebc8){_0x1aec57[_0x3f1303(0x127)](debug,util[_0x3f1303(0x134)](_0x1aec57[_0x3f1303(0x13f)],_0x33ebc8[_0x3f1303(0x11a)]()));}const _0x21491b=[];_0x1960a4[_0x3f1303(0xce)]&&_0x1960a4['attachments']['map'](_0x12ea20=>{const _0x448a2f=_0x3f1303;if(_0x1aec57['VjRdv'](_0x12ea20[_0x448a2f(0x183)],_0x1aec57[_0x448a2f(0xc9)])){if(!fs[_0x448a2f(0x118)](_0x12ea20[_0x448a2f(0x186)]))return;_0x21491b[_0x448a2f(0x13c)]({'test_run_uuid':_0x203537,'timestamp':fs[_0x448a2f(0x10a)](_0x12ea20[_0x448a2f(0x186)])[_0x448a2f(0x10e)],'kind':_0x1aec57[_0x448a2f(0xd4)],'message':fs[_0x448a2f(0x143)](_0x12ea20['path'],{'encoding':_0x1aec57[_0x448a2f(0x14d)]})});}}),_0x1aec57[_0x3f1303(0x96)](_0x21491b[_0x3f1303(0x16a)],0x0)&&await MyReporter[_0x3f1303(0xae)](_0x21491b);}async[a41_0x16af38(0xf2)](){const _0x5a7914=a41_0x16af38;await RequestQueueHandler[_0x5a7914(0x133)]()[_0x5a7914(0x167)]();}async[a41_0x16af38(0xc1)](_0x1f3609){const _0x53cf5d=a41_0x16af38,_0x42e0b2={'SKhQs':function(_0x6ef76a){return _0x6ef76a();},'eaYrX':function(_0x30d176,_0x278822){return _0x30d176(_0x278822);}};await this[_0x53cf5d(0xf2)]();try{process['env'][_0x53cf5d(0x111)]&&await _0x42e0b2[_0x53cf5d(0x14a)](calculatePerformance);}catch(_0x12d54c){_0x42e0b2[_0x53cf5d(0xfa)](debug,_0x53cf5d(0xe4)+_0x12d54c['toString']());}}static async[a41_0x16af38(0x12a)](_0x4c45cf,_0xbad8ae){const _0x340a8f=a41_0x16af38;_0xbad8ae[_0x340a8f(0xfb)]=TestDetails['getTestUUID'](_0x4c45cf),await this[_0x340a8f(0xae)]([_0xbad8ae]);}static async[a41_0x16af38(0xae)](_0x42c33c){const _0x3780d1=a41_0x16af38,_0xe7e78b={};_0xe7e78b['ecEKb']=_0x3780d1(0x178);const _0x30956d=_0xe7e78b,_0x3ec623={};_0x3ec623['event_type']=_0x30956d[_0x3780d1(0x16b)],_0x3ec623[_0x3780d1(0x12e)]=_0x42c33c,await SessionHandler[_0x3780d1(0xaf)](_0x3ec623);}async[a41_0x16af38(0xe6)](_0x47b768,_0x6b98ad,_0x4d6ce8,_0x301c1c){const _0x48c69b=a41_0x16af38,_0x17912e={'GtCRG':_0x48c69b(0xf5),'wexgO':_0x48c69b(0x17c),'epSXU':_0x48c69b(0xd2),'broAh':function(_0x455633,_0x1f5ca9){return _0x455633>=_0x1f5ca9;},'aLUbM':function(_0xf56967,_0x5f750){return _0xf56967===_0x5f750;},'tlLNW':_0x48c69b(0x8e),'ZhOvc':function(_0x75519f,_0x264aff){return _0x75519f>_0x264aff;},'Dqmtf':_0x48c69b(0xd3),'kNgLm':function(_0x3cd4ba,_0x46955f){return _0x3cd4ba(_0x46955f);},'hCycs':function(_0x5a0b1e,_0x434cda,_0xe9ff3){return _0x5a0b1e(_0x434cda,_0xe9ff3);},'YMukD':_0x48c69b(0x137),'xsUZa':_0x48c69b(0x156)},_0x30bfe0=this[_0x48c69b(0xa5)](_0x47b768,_0x6b98ad),_0x156977=this[_0x48c69b(0xa8)][_0x30bfe0],_0x19f2b1={'uuid':_0x156977[_0x48c69b(0x17f)],'type':_0x17912e[_0x48c69b(0x88)],'hook_type':this[_0x48c69b(0xc2)](_0x6b98ad[_0x48c69b(0xa2)]),'name':_0x6b98ad[_0x48c69b(0xa2)],'scope':this[_0x48c69b(0xdc)](_0x6b98ad),'scopes':this[_0x48c69b(0x131)](_0x47b768),'body':{'lang':_0x17912e[_0x48c69b(0x9a)],'code':null},'identifier':_0x30bfe0,'file_name':path['relative'](process[_0x48c69b(0x9b)](),_0x47b768[_0x48c69b(0xed)][_0x48c69b(0x181)]),'location':path[_0x48c69b(0x103)](process['cwd'](),_0x47b768[_0x48c69b(0xed)][_0x48c69b(0x181)]),'result':_0x17912e[_0x48c69b(0x84)],'duration_in_ms':_0x17912e[_0x48c69b(0x116)](_0x6b98ad['duration'],0x0)?_0x6b98ad[_0x48c69b(0x91)]:undefined,'vc_filepath':this[_0x48c69b(0x115)]&&_0x47b768[_0x48c69b(0xed)][_0x48c69b(0x181)]?path[_0x48c69b(0x103)](this[_0x48c69b(0x115)],_0x47b768[_0x48c69b(0xed)][_0x48c69b(0x181)]):undefined,'started_at':_0x156977['startedAt'],'finished_at':_0x156977['finishedAt'],'framework':FRAMEWORKS[_0x48c69b(0xf6)]};if(_0x17912e['aLUbM'](_0x4d6ce8,_0x17912e[_0x48c69b(0xd8)])){const {steps:_0x23b6a6,logs:_0x2aa844}=this[_0x48c69b(0x144)](_0x6b98ad[_0x48c69b(0x13b)],_0x156977[_0x48c69b(0x17f)],_0x17912e['GtCRG']);_0x2aa844&&_0x17912e[_0x48c69b(0xc5)](_0x2aa844['length'],0x0)&&await MyReporter[_0x48c69b(0xae)](_0x2aa844);const _0xc399f2={};_0xc399f2[_0x48c69b(0x13b)]=_0x23b6a6,_0x19f2b1['meta']=_0xc399f2;if(_0x6b98ad[_0x48c69b(0xf8)]){_0x19f2b1[_0x48c69b(0x14c)]=_0x17912e[_0x48c69b(0xf7)],_0x19f2b1[_0x48c69b(0x11e)]=_0x17912e['kNgLm'](removeAnsiColors,_0x6b98ad['error']['message']),_0x19f2b1[_0x48c69b(0x8f)]=_0x17912e[_0x48c69b(0x114)](getFailureType,_0x6b98ad['error'][_0x48c69b(0xc3)]);const _0x45f92e=_0x17912e['hCycs'](failureData,_0x6b98ad[_0x48c69b(0xf8)],_0x17912e[_0x48c69b(0x112)]);if(_0x45f92e&&_0x17912e[_0x48c69b(0x8a)](_0x45f92e[_0x48c69b(0x16a)],0x0)){const _0x365388={};_0x365388['backtrace']=[_0x19f2b1[_0x48c69b(0x11e)]],_0x365388['expanded']=[],_0x45f92e[_0x48c69b(0x13c)](_0x365388);}_0x19f2b1['failure']=_0x45f92e;}else _0x19f2b1[_0x48c69b(0x14c)]=_0x17912e[_0x48c69b(0xd6)];}const _0x5acb7c={};_0x5acb7c['event_type']=_0x4d6ce8,_0x5acb7c['hook_run']=_0x19f2b1;const _0x2d3fcf=_0x5acb7c;await SessionHandler[_0x48c69b(0xaf)](_0x2d3fcf);}[a41_0x16af38(0x144)](_0xdbd765,_0x533a63,_0x2925dc){const _0x1bc780=a41_0x16af38,_0x53921d={'pQYrI':function(_0x211c83,_0x21cc48){return _0x211c83===_0x21cc48;},'fRvny':_0x1bc780(0xf5),'IWOzW':_0x1bc780(0x89),'bwtpb':function(_0x2a82f3,_0x148245){return _0x2a82f3===_0x148245;},'roevV':_0x1bc780(0x163),'VjAmX':function(_0x1d159c,_0x54254e){return _0x1d159c===_0x54254e;},'IstqD':function(_0x5b0fd2,_0x2dd816){return _0x5b0fd2===_0x2dd816;},'zPLIO':_0x1bc780(0x12d),'xSlSd':_0x1bc780(0xfb),'uJqOd':_0x1bc780(0xe2),'wbznk':'TEST_STEP','KcbfF':_0x1bc780(0xd3),'ihXoY':_0x1bc780(0x156),'Zygdt':function(_0x4fca3d,_0x2049e7){return _0x4fca3d(_0x2049e7);},'yMfLv':function(_0x1d2e0f){return _0x1d2e0f();},'xGJIb':function(_0x378c93,_0x5b24e3){return _0x378c93(_0x5b24e3);},'CWepi':function(_0x1e38b0,_0x209a45,_0x517bcf){return _0x1e38b0(_0x209a45,_0x517bcf);},'HpXfA':function(_0x371860,_0x5009a0,_0x417b4b){return _0x371860(_0x5009a0,_0x417b4b);}},_0x567270=[],_0x1e3a02=[],_0x41279d=_0xdbd765['filter'](_0x28753d=>{const _0xe10ad9=_0x1bc780;if(_0x53921d[_0xe10ad9(0x157)](_0x28753d[_0xe10ad9(0xee)],_0x53921d[_0xe10ad9(0x11b)])&&(_0x53921d[_0xe10ad9(0x157)](_0x28753d[_0xe10ad9(0xa2)],_0x53921d['IWOzW'])||_0x53921d['bwtpb'](_0x28753d[_0xe10ad9(0xa2)],_0x53921d[_0xe10ad9(0x177)])))return![];return!![];}),_0x1df1be=(_0x21405c,_0x2d281c=![])=>{const _0x2ea4fc=_0x1bc780;if(_0x53921d[_0x2ea4fc(0x12f)](_0x21405c[_0x2ea4fc(0x13b)]['length'],0x0)){const _0x6ea34c=_0x53921d[_0x2ea4fc(0x179)](_0x2925dc,_0x53921d[_0x2ea4fc(0x101)])?_0x53921d[_0x2ea4fc(0xad)]:_0x53921d[_0x2ea4fc(0xe1)];_0x1e3a02['push']({'kind':_0x53921d['wbznk'],[_0x6ea34c]:_0x533a63,'message':_0x21405c[_0x2ea4fc(0xa2)],'timestamp':_0x21405c[_0x2ea4fc(0x109)][_0x2ea4fc(0x145)](),'level':_0x21405c[_0x2ea4fc(0xf8)]?_0x53921d[_0x2ea4fc(0xc7)]:_0x53921d['ihXoY'],'duration':_0x21405c[_0x2ea4fc(0x91)],'failure':_0x21405c['error']&&_0x21405c[_0x2ea4fc(0xf8)][_0x2ea4fc(0xc3)]&&_0x53921d[_0x2ea4fc(0x8b)](removeAnsiColors,_0x21405c[_0x2ea4fc(0xf8)]['message']),'failure_type':_0x53921d[_0x2ea4fc(0x8b)](getFailureType,_0x21405c[_0x2ea4fc(0xf8)]&&_0x21405c[_0x2ea4fc(0xf8)][_0x2ea4fc(0xc3)])});}else{!_0x2d281c&&_0x567270[_0x2ea4fc(0x13c)]({'id':_0x53921d[_0x2ea4fc(0x135)](uuidv4),'text':_0x21405c[_0x2ea4fc(0xa2)],'keyword':undefined,'started_at':_0x21405c[_0x2ea4fc(0x109)][_0x2ea4fc(0x145)](),'duration':_0x21405c[_0x2ea4fc(0x91)],'result':_0x21405c[_0x2ea4fc(0xf8)]?_0x53921d[_0x2ea4fc(0xc7)]:_0x53921d[_0x2ea4fc(0x151)],'failure':_0x21405c[_0x2ea4fc(0xf8)]&&_0x21405c[_0x2ea4fc(0xf8)][_0x2ea4fc(0xc3)]&&_0x53921d[_0x2ea4fc(0x8b)](removeAnsiColors,_0x21405c[_0x2ea4fc(0xf8)][_0x2ea4fc(0xc3)]),'failure_type':_0x53921d['xGJIb'](getFailureType,_0x21405c[_0x2ea4fc(0xf8)]&&_0x21405c['error']['message'])});for(const _0x111a4d of _0x21405c['steps']){_0x53921d[_0x2ea4fc(0x87)](_0x1df1be,_0x111a4d,!![]);}}};for(const _0x281c8b of _0x41279d){_0x53921d['HpXfA'](_0x1df1be,_0x281c8b,![]);}const _0x292d1b={};return _0x292d1b[_0x1bc780(0x13b)]=_0x567270,_0x292d1b[_0x1bc780(0x12e)]=_0x1e3a02,_0x292d1b;}async['sendTestRunEvent'](_0x302cff,_0x519a77,_0x52d191){const _0x4259e4=a41_0x16af38,_0x3e8ee6={'EXTNc':function(_0xd8f052,_0x44f2ef){return _0xd8f052(_0x44f2ef);},'IssNh':_0x4259e4(0xf4),'LyFrw':_0x4259e4(0xdd),'MMGhD':_0x4259e4(0x12d),'HbAPu':_0x4259e4(0x17c),'cQsfD':_0x4259e4(0xd2),'Jdidg':function(_0x247f6c,_0x1a54f5){return _0x247f6c(_0x1a54f5);},'FybAU':function(_0x5af00d,_0xb299cb,_0x38d6a6,_0x241c5a,_0x44bd44){return _0x5af00d(_0xb299cb,_0x38d6a6,_0x241c5a,_0x44bd44);},'eRKbC':function(_0x1c0bd3,_0x2772d9){return _0x1c0bd3>_0x2772d9;},'vQsCo':function(_0x97418c,_0x20504b){return _0x97418c-_0x20504b;},'oQvVd':function(_0x2dceed,_0x5a08a9){return _0x2dceed===_0x5a08a9;},'DDROa':_0x4259e4(0xac),'pvBad':_0x4259e4(0x142),'PpqSf':_0x4259e4(0x156),'EqkwZ':_0x4259e4(0xd3),'fAuDI':function(_0x5cc961,_0x86e5bf){return _0x5cc961===_0x86e5bf;},'zcbmf':_0x4259e4(0x148),'fvUyp':function(_0x2fa906,_0x3f0c08){return _0x2fa906===_0x3f0c08;},'ePTWX':function(_0x2e5c2f,_0x50cbaa){return _0x2e5c2f===_0x50cbaa;},'qnxTk':_0x4259e4(0x17a),'pwLMj':function(_0xa8b319,_0x2eca6b,_0x557af6){return _0xa8b319(_0x2eca6b,_0x557af6);},'DQmKT':function(_0x23314a,_0x396cf6){return _0x23314a===_0x396cf6;},'bXUMz':function(_0xf6c78,_0x20f8a1){return _0xf6c78>_0x20f8a1;},'HBMfG':_0x4259e4(0x186),'ueKHJ':function(_0x2b34e0,_0x56894e){return _0x2b34e0(_0x56894e);},'qGKyX':'.browserstack','PaHvV':_0x4259e4(0xa3),'EFmEJ':function(_0x475bb4,_0x599355){return _0x475bb4(_0x599355);},'tXtgu':function(_0x5a3ce3,_0x373186){return _0x5a3ce3!==_0x373186;}},_0x401fe8=this[_0x4259e4(0xa9)](_0x302cff),_0x23d685=this[_0x4259e4(0xdc)](_0x302cff),_0x189b21=this[_0x4259e4(0xa8)][_0x401fe8],_0x514976=path[_0x4259e4(0x103)](process[_0x4259e4(0x9b)](),_0x302cff[_0x4259e4(0xed)][_0x4259e4(0x181)]);await this['configureGit']();const _0x56b057={'uuid':_0x189b21[_0x4259e4(0x17f)],'type':_0x3e8ee6['MMGhD'],'name':_0x302cff[_0x4259e4(0xa2)],'body':{'lang':_0x3e8ee6[_0x4259e4(0x169)],'code':_0x302cff['fn'][_0x4259e4(0x11a)]()},'scope':_0x23d685,'scopes':this[_0x4259e4(0x131)](_0x302cff),'identifier':_0x401fe8,'file_name':_0x514976,'location':_0x514976,'result':_0x3e8ee6[_0x4259e4(0x16e)],'duration_in_ms':_0x52d191&&_0x52d191[_0x4259e4(0x91)]?_0x52d191[_0x4259e4(0x91)]:null,'vc_filepath':this[_0x4259e4(0x115)]&&_0x302cff['location'][_0x4259e4(0x181)]?path[_0x4259e4(0x103)](this['_gitConfigPath'],_0x302cff[_0x4259e4(0xed)][_0x4259e4(0x181)]):undefined,'started_at':_0x189b21[_0x4259e4(0x15d)],'finished_at':_0x189b21[_0x4259e4(0xa0)],'framework':FRAMEWORKS[_0x4259e4(0xf6)],'customRerunParam':{'rerun_name':this[_0x4259e4(0xca)](_0x302cff)},'tags':_0x3e8ee6['Jdidg'](getTestTags,_0x302cff)};_0x3e8ee6[_0x4259e4(0x119)](appendTesthubParams,_0x56b057,_0x519a77,_0x302cff,FRAMEWORKS[_0x4259e4(0xf6)]);_0x52d191&&_0x3e8ee6[_0x4259e4(0x122)](_0x52d191['retry'],0x0)&&(_0x56b057[_0x4259e4(0x140)]=TestDetails[_0x4259e4(0x100)](this[_0x4259e4(0xb7)](_0x302cff,_0x3e8ee6[_0x4259e4(0x13e)](_0x52d191['retry'],0x1))));if(_0x3e8ee6[_0x4259e4(0xe9)](_0x519a77,_0x3e8ee6[_0x4259e4(0x8c)])){_0x56b057[_0x4259e4(0x14c)]=_0x52d191[_0x4259e4(0x106)];if(_0x3e8ee6[_0x4259e4(0xe9)](_0x52d191[_0x4259e4(0x106)],_0x302cff['expectedStatus']))_0x56b057['result']=_0x3e8ee6[_0x4259e4(0xe9)](_0x52d191[_0x4259e4(0x106)],_0x3e8ee6[_0x4259e4(0x146)])?_0x3e8ee6[_0x4259e4(0x146)]:_0x3e8ee6[_0x4259e4(0xe5)];else{(_0x3e8ee6[_0x4259e4(0xe9)](_0x56b057[_0x4259e4(0x14c)],_0x3e8ee6[_0x4259e4(0xe5)])||_0x3e8ee6[_0x4259e4(0xe9)](_0x56b057[_0x4259e4(0x14c)],_0x3e8ee6[_0x4259e4(0xa1)])||_0x3e8ee6[_0x4259e4(0x11f)](_0x56b057[_0x4259e4(0x14c)],_0x3e8ee6['zcbmf']))&&(_0x56b057[_0x4259e4(0x14c)]=_0x3e8ee6[_0x4259e4(0xa1)]);if(_0x3e8ee6['fvUyp'](_0x52d191[_0x4259e4(0x106)],_0x3e8ee6[_0x4259e4(0xe5)])&&_0x3e8ee6[_0x4259e4(0x117)](_0x302cff[_0x4259e4(0x16d)],_0x3e8ee6['EqkwZ'])){const _0x577156={};_0x577156[_0x4259e4(0xc3)]=_0x3e8ee6[_0x4259e4(0x9f)],_0x577156['stack']=_0x3e8ee6[_0x4259e4(0x9f)],_0x52d191[_0x4259e4(0xf8)]=_0x577156,_0x52d191[_0x4259e4(0x150)]=[_0x52d191[_0x4259e4(0xf8)]];}}const _0x19302a=this[_0x4259e4(0xb7)](_0x302cff,_0x52d191[_0x4259e4(0x113)]);_0x56b057[_0x4259e4(0x13d)]=this[_0x4259e4(0x10b)][_0x19302a];const {steps:_0x3d558c,logs:_0x561e74}=this[_0x4259e4(0x144)](_0x52d191['steps'],_0x189b21['uuid'],_0x3e8ee6['MMGhD']);await MyReporter[_0x4259e4(0xae)](_0x561e74);const _0x4af173={};_0x4af173[_0x4259e4(0x13b)]=_0x3d558c,_0x56b057['meta']=_0x4af173;if(_0x52d191[_0x4259e4(0xf8)]){_0x56b057['failure_reason']=_0x3e8ee6[_0x4259e4(0xff)](removeAnsiColors,_0x52d191[_0x4259e4(0xf8)][_0x4259e4(0xc3)]),_0x56b057[_0x4259e4(0x8f)]=_0x3e8ee6[_0x4259e4(0x108)](getFailureType,_0x52d191[_0x4259e4(0xf8)][_0x4259e4(0xc3)]);const _0x1a7864={};_0x1a7864[_0x4259e4(0xfb)]=_0x189b21['uuid'];const {failureData:_0xbcd1a9,logs:_0x478c33}=_0x3e8ee6[_0x4259e4(0xfe)](getFailureData,_0x52d191[_0x4259e4(0x150)],_0x1a7864);if(_0xbcd1a9&&_0x3e8ee6[_0x4259e4(0x161)](_0xbcd1a9[_0x4259e4(0x16a)],0x0)){const _0x40b8f2={};_0x40b8f2[_0x4259e4(0x126)]=[_0x56b057[_0x4259e4(0x11e)]],_0x40b8f2['expanded']=[],_0xbcd1a9['push'](_0x40b8f2);}_0x56b057['failure']=_0xbcd1a9,_0x478c33&&_0x3e8ee6['bXUMz'](_0x478c33[_0x4259e4(0x16a)],0x0)&&await MyReporter[_0x4259e4(0xae)](_0x478c33);}}let _0x31ca89=_0x3e8ee6[_0x4259e4(0xfe)](findNestedKey,_0x52d191,_0x3e8ee6[_0x4259e4(0x90)]);if(_0x31ca89&&_0x3e8ee6[_0x4259e4(0x108)](validateFilePath,_0x31ca89))_0x3e8ee6[_0x4259e4(0x15c)](debug,_0x4259e4(0xea)+_0x189b21['uuid']+_0x4259e4(0xb0)+_0x31ca89);else{const _0x222948=path[_0x4259e4(0x15f)](helper['homedir'](),_0x3e8ee6[_0x4259e4(0x11d)]);!fs['existsSync'](_0x222948)&&fs[_0x4259e4(0xbf)](_0x222948),fs['existsSync'](path[_0x4259e4(0x15f)](_0x222948,_0x4259e4(0x166)+_0x189b21[_0x4259e4(0x17f)]+_0x4259e4(0x154)))&&(_0x31ca89=fs[_0x4259e4(0x143)](path[_0x4259e4(0x15f)](_0x222948,'trace_'+_0x189b21[_0x4259e4(0x17f)]+'.txt'),_0x3e8ee6['PaHvV']),_0x3e8ee6[_0x4259e4(0x14f)](debug,_0x4259e4(0xea)+_0x189b21['uuid']+_0x4259e4(0xb0)+_0x31ca89));}const _0x1226b4={};_0x1226b4[_0x4259e4(0x141)]=_0x519a77,_0x1226b4[_0x4259e4(0x175)]=_0x56b057;const _0x5dc81f=_0x1226b4;_0x31ca89&&_0x3e8ee6[_0x4259e4(0xfd)](_0x31ca89,'')&&_0x3e8ee6['DQmKT'](_0x519a77,_0x3e8ee6[_0x4259e4(0x8c)])&&(!_0x5dc81f['logs']&&(_0x5dc81f['logs']=[]),_0x31ca89[_0x4259e4(0x14e)]('\x0a')[_0x4259e4(0x155)](_0x24a60f=>{const _0x25d4c8=_0x4259e4;_0x24a60f&&_0x3e8ee6['EXTNc'](validateFilePath,_0x24a60f)&&_0x5dc81f['logs'][_0x25d4c8(0x13c)]({'kind':_0x3e8ee6[_0x25d4c8(0xdb)],'timestamp':new Date()[_0x25d4c8(0x145)](),'test_run_uuid':_0x189b21[_0x25d4c8(0x17f)],'file_name':path[_0x25d4c8(0x147)](_0x24a60f),'file_size':fs[_0x25d4c8(0x10a)](_0x24a60f)[_0x25d4c8(0x105)],'attachment_type':_0x3e8ee6[_0x25d4c8(0xcd)]});})),await SessionHandler['uploadEventData'](_0x5dc81f);}['getCustomRerunParam'](_0x135005){const _0x4789ec=a41_0x16af38,_0x523249={};_0x523249[_0x4789ec(0x9c)]=function(_0x26b53f,_0x35b1bc){return _0x26b53f===_0x35b1bc;},_0x523249[_0x4789ec(0x8d)]=function(_0x1689c8,_0x1d89b){return _0x1689c8>_0x1d89b;},_0x523249[_0x4789ec(0x173)]=function(_0x7438d0,_0x543cd8){return _0x7438d0+_0x543cd8;},_0x523249[_0x4789ec(0x13a)]=function(_0x3671d0,_0x4d8e08){return _0x3671d0+_0x4d8e08;},_0x523249[_0x4789ec(0x9e)]=function(_0x6484e0,_0x4d6358){return _0x6484e0+_0x4d6358;};const _0x435f85=_0x523249,_0x4db441=_0x135005[_0x4789ec(0x15e)]()[_0x4789ec(0xaa)](_0x40afac=>{const _0xc5072b=_0x4789ec;if(_0x135005[_0xc5072b(0x174)]&&_0x435f85[_0xc5072b(0x9c)](_0x40afac,_0x135005[_0xc5072b(0x174)]['title'])&&_0x135005[_0xc5072b(0x174)][_0xc5072b(0xab)]&&_0x435f85[_0xc5072b(0x8d)](_0x135005['parent'][_0xc5072b(0xab)][_0xc5072b(0x16a)],0x0))return _0x435f85[_0xc5072b(0x173)](_0x435f85['DMCuX'](_0x40afac,'\x20'),_0x135005[_0xc5072b(0x174)]['_tags'][_0xc5072b(0x15f)]('\x20'));if(_0x435f85[_0xc5072b(0x9c)](_0x40afac,_0x135005[_0xc5072b(0xa2)])&&_0x135005[_0xc5072b(0xab)]&&_0x435f85[_0xc5072b(0x8d)](_0x135005[_0xc5072b(0xab)][_0xc5072b(0x16a)],0x0))return _0x435f85[_0xc5072b(0x9e)](_0x435f85[_0xc5072b(0x13a)](_0x40afac,'\x20'),_0x135005[_0xc5072b(0xab)][_0xc5072b(0x15f)]('\x20'));return _0x40afac;})[_0x4789ec(0x15f)]('\x20');return _0x4db441;}static async[a41_0x16af38(0xa7)](_0x265878,_0x489f61){const _0x1e811d=a41_0x16af38,_0x3266a2={'Wnebl':function(_0x2c4414,_0x370d5e){return _0x2c4414(_0x370d5e);},'OMKxK':_0x1e811d(0xf3)},_0x2cf66f={'uuid':TestDetails[_0x1e811d(0x100)](_0x265878),'integrations':_0x489f61},_0x4696e9={};_0x4696e9[_0x1e811d(0x93)]=null,_0x3266a2[_0x1e811d(0xcb)](debug,_0x1e811d(0xcf)+_0x265878+',\x20'+util[_0x1e811d(0xb8)](_0x489f61,_0x4696e9));const _0x15d549={};_0x15d549[_0x1e811d(0x141)]=_0x3266a2[_0x1e811d(0x152)],_0x15d549[_0x1e811d(0x175)]=_0x2cf66f,await SessionHandler[_0x1e811d(0xaf)](_0x15d549);}async[a41_0x16af38(0x102)](){const _0x4123ef=a41_0x16af38,_0x2a352f={'wbBIG':function(_0x36a8d0){return _0x36a8d0();}};if(this[_0x4123ef(0xcc)])return;const _0x1a56b1=await _0x2a352f[_0x4123ef(0x124)](getGitMetaData);_0x1a56b1&&(this[_0x4123ef(0x115)]=_0x1a56b1[_0x4123ef(0x14b)]),this[_0x4123ef(0xcc)]=!![];}['getHierarchy'](_0x15f4e2){const _0x4e25a0=a41_0x16af38,_0x150846={};_0x150846[_0x4e25a0(0x149)]=function(_0x2b6039,_0x2591a0){return _0x2b6039!==_0x2591a0;};const _0x1f229e=_0x150846,_0x37cb50=[];if(_0x15f4e2&&_0x15f4e2[_0x4e25a0(0x174)]){let _0x32503b=_0x15f4e2[_0x4e25a0(0x174)];while(_0x32503b&&_0x1f229e['UnxNY'](_0x32503b[_0x4e25a0(0xa2)],'')){_0x37cb50[_0x4e25a0(0x13c)](_0x32503b[_0x4e25a0(0xa2)]),_0x32503b=_0x32503b[_0x4e25a0(0x174)];}}return _0x37cb50['reverse']()[_0x4e25a0(0xd5)](0x0,0x2),_0x37cb50;}[a41_0x16af38(0x10d)](_0x55437d){const _0x1d477f=a41_0x16af38,_0x56901e={};_0x56901e['eaPkP']=function(_0x1cd30a,_0x11014a){return _0x1cd30a!==_0x11014a;},_0x56901e[_0x1d477f(0x180)]=_0x1d477f(0xf5),_0x56901e[_0x1d477f(0x185)]=function(_0x3e9e97,_0x138ee8){return _0x3e9e97===_0x138ee8;},_0x56901e['BCWeH']=_0x1d477f(0x153),_0x56901e[_0x1d477f(0x129)]='beforeAll\x20hook',_0x56901e[_0x1d477f(0x164)]='afterAll\x20hook',_0x56901e[_0x1d477f(0x98)]=_0x1d477f(0xd7);const _0x18d62e=_0x56901e;if(_0x18d62e[_0x1d477f(0x16c)](_0x55437d[_0x1d477f(0xee)],_0x18d62e[_0x1d477f(0x180)]))return![];if(_0x18d62e['Fvxxi']([_0x18d62e[_0x1d477f(0x107)],_0x18d62e[_0x1d477f(0x129)],_0x18d62e['OzbNH'],_0x18d62e[_0x1d477f(0x98)]]['indexOf'](_0x55437d[_0x1d477f(0xa2)]),-0x1))return![];return!![];}['getStepIdentifier'](_0x2a4a1a,_0x514763){const _0x483567=a41_0x16af38,_0x58c8e0=_0x514763['_bs_hookIdentifier'];if(_0x58c8e0)return _0x58c8e0;return _0x514763['title']+_0x483567(0xe0)+this[_0x483567(0xa9)](_0x2a4a1a);}['setStepIdentifier'](_0x24005e,_0x312d93){const _0x3a79d2=a41_0x16af38,_0x1db592={'PzWiq':function(_0x18af04){return _0x18af04();}};let _0x209ff8=_0x312d93[_0x3a79d2(0xa2)]+_0x3a79d2(0xe0)+this[_0x3a79d2(0xa9)](_0x24005e);return this[_0x3a79d2(0xa8)][_0x209ff8]&&(_0x209ff8=_0x209ff8+_0x3a79d2(0xda)+_0x1db592[_0x3a79d2(0x10f)](uuidv4)),_0x312d93[_0x3a79d2(0x97)]=_0x209ff8,_0x209ff8;}[a41_0x16af38(0xa9)]=_0x45ecbf=>{const _0xbd838e=a41_0x16af38,_0x4b8f07={};_0x4b8f07[_0xbd838e(0xe8)]=function(_0x22ab86,_0x3c66aa){return _0x22ab86+_0x3c66aa;},_0x4b8f07[_0xbd838e(0x17d)]=function(_0x4e3fd0,_0x555ce3){return _0x4e3fd0+_0x555ce3;};const _0x53c223=_0x4b8f07;return _0x53c223[_0xbd838e(0xe8)](_0x53c223[_0xbd838e(0x17d)](_0x45ecbf['_projectId'],'-'),_0x45ecbf['id']);};['getTestRunIdentifier']=(_0x28aeb0,_0x4a607c)=>{const _0x48b706=a41_0x16af38,_0x42eca1={};_0x42eca1[_0x48b706(0x172)]=function(_0x3799d2,_0x153070){return _0x3799d2+_0x153070;};const _0x2d5104=_0x42eca1;return _0x2d5104['uyYYA'](_0x2d5104[_0x48b706(0x172)](this[_0x48b706(0xa9)](_0x28aeb0),'-'),_0x4a607c);};[a41_0x16af38(0xc2)]=_0x2823bb=>{const _0x3cca85=a41_0x16af38,_0x3d5375={};_0x3d5375['OWUOL']=_0x3cca85(0x153),_0x3d5375[_0x3cca85(0xf1)]=_0x3cca85(0x11c),_0x3d5375[_0x3cca85(0xc6)]=_0x3cca85(0xb3),_0x3d5375['QzRmc']=_0x3cca85(0xb1),_0x3d5375[_0x3cca85(0x138)]=_0x3cca85(0xd7),_0x3d5375['GQLYy']=_0x3cca85(0x12b),_0x3d5375['MptGd']=_0x3cca85(0x120),_0x3d5375['KoBzW']=_0x3cca85(0xb9),_0x3d5375[_0x3cca85(0x10c)]=_0x3cca85(0xb2);const _0x4090bb=_0x3d5375;if(_0x2823bb[_0x3cca85(0xf0)](_0x4090bb[_0x3cca85(0xc4)]))return _0x4090bb[_0x3cca85(0xf1)];else{if(_0x2823bb['startsWith'](_0x4090bb['pOKky']))return _0x4090bb[_0x3cca85(0x15a)];else{if(_0x2823bb[_0x3cca85(0xf0)](_0x4090bb[_0x3cca85(0x138)]))return _0x4090bb[_0x3cca85(0xeb)];else{if(_0x2823bb[_0x3cca85(0xf0)](_0x4090bb[_0x3cca85(0xa4)]))return _0x4090bb['KoBzW'];}}}return _0x4090bb[_0x3cca85(0x10c)];};[a41_0x16af38(0xdc)]=_0x2311d6=>{const _0x2fc271=a41_0x16af38,_0x2ae6fe={};_0x2ae6fe['BKOnU']=function(_0x2f981e,_0x62224){return _0x2f981e===_0x62224;},_0x2ae6fe[_0x2fc271(0x110)]='object';const _0x130207=_0x2ae6fe;let _0x2a35cb=_0x2311d6[_0x2fc271(0x174)];return _0x130207['BKOnU'](typeof _0x2311d6[_0x2fc271(0x174)],_0x130207[_0x2fc271(0x110)])&&(_0x2a35cb=_0x2a35cb[_0x2fc271(0xa2)]),_0x2a35cb+_0x2fc271(0xda)+_0x2311d6['title'];};[a41_0x16af38(0x17b)](){return![];}}module[a41_0x16af38(0x123)]=o11yClassErrorHandler(MyReporter,['onBegin',a41_0x16af38(0xf2),'onTestBegin',a41_0x16af38(0x170),a41_0x16af38(0xbe),a41_0x16af38(0x160),'sendSessionDetails'],'MyReporter');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a42_0x2299c3=a42_0x53ab;function a42_0x4e9a(){const _0x399d67=['project','readFileSync','homedir','AKRjc','WoUQA','582440MnQPDe','values','traceZipPaths','7482cQOghy','VwBkd','split','filePath','getTestIdFromTestInfo','addTraceFilePath','util','GRucu','winstonLogger','format','2KGJNVg','ubZFN','_platformDetails.json','sSVAP','some','stringify','getProjectIdFromTestInfo','dirPath','1|3|4|0|2','getTestUUID','OxXWB','Error\x20writing\x20trace\x20file:\x20','appendToTracePaths','env','uGWzX','force','forEach','getTestRunIdFromTestInfo','_test','exports','JIZeR','esvwK','error','648500DsqaSG','RVWKO','uixTu','_traceZipPaths.json','testId','join','getTraceZipDir','getTestDetails','toString','utf8','pid','existsSync','appendFileSync','message','shutdown','522087zACQIY','xlCiP','awOUk','recursive','uuid','806020HhSpdh','FjUjR','shZYe','traceZipDir','.json','BAzBO','27qBKAJz','sLflu','getFilePath','cwd','writeFileSync','getStoreDirPath','_projectId','tests','endsWith','GlBYj','setup','getStoreDirName','pVdsE','159569xXdtJT','trace_','Error\x20handling\x20trace\x20file\x20paths:\x20','snIMb','parse','BS_TESTOPS_BUILD_HASHED_ID','mkdirSync','1054680IGivVy','getAccessibilityPlatformValidation','../../../helpers/helper','259lDwkkP'];a42_0x4e9a=function(){return _0x399d67;};return a42_0x4e9a();}function a42_0x53ab(_0x21ba6d,_0x536508){const _0x4e9ad0=a42_0x4e9a();return a42_0x53ab=function(_0x53ab55,_0x463b4b){_0x53ab55=_0x53ab55-0xbb;let _0x14b46=_0x4e9ad0[_0x53ab55];return _0x14b46;},a42_0x53ab(_0x21ba6d,_0x536508);}(function(_0x48b504,_0x16761a){const _0x9a9b50=a42_0x53ab,_0x458142=_0x48b504();while(!![]){try{const _0x4b56a8=-parseInt(_0x9a9b50(0xc1))/0x1+-parseInt(_0x9a9b50(0xde))/0x2*(-parseInt(_0x9a9b50(0x104))/0x3)+parseInt(_0x9a9b50(0x109))/0x4+-parseInt(_0x9a9b50(0xc8))/0x5+-parseInt(_0x9a9b50(0xd4))/0x6*(parseInt(_0x9a9b50(0xcb))/0x7)+-parseInt(_0x9a9b50(0xd1))/0x8*(-parseInt(_0x9a9b50(0x10f))/0x9)+-parseInt(_0x9a9b50(0xf5))/0xa;if(_0x4b56a8===_0x16761a)break;else _0x458142['push'](_0x458142['shift']());}catch(_0xf8df73){_0x458142['push'](_0x458142['shift']());}}}(a42_0x4e9a,0x1b747));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require(a42_0x2299c3(0xca)),logger=require('../../../helpers/logger')[a42_0x2299c3(0xdc)],util=require(a42_0x2299c3(0xda)),helper=require(a42_0x2299c3(0xca));class TestDetails{static [a42_0x2299c3(0xbb)]={};static ['dirPath']=path[a42_0x2299c3(0xfa)](process['cwd'](),TestDetails['getStoreDirName']());static [a42_0x2299c3(0x10c)]=path[a42_0x2299c3(0xfa)](TestDetails[a42_0x2299c3(0xe5)],a42_0x2299c3(0xd3));static[a42_0x2299c3(0xbe)](){const _0x514808=a42_0x2299c3,_0x2bbf4c={};_0x2bbf4c[_0x514808(0xc0)]=_0x514808(0xe6),_0x2bbf4c[_0x514808(0x106)]=_0x514808(0xd3);const _0xc1fea3=_0x2bbf4c,_0x999209=_0xc1fea3[_0x514808(0xc0)][_0x514808(0xd6)]('|');let _0x104981=0x0;while(!![]){switch(_0x999209[_0x104981++]){case'0':const _0x113710={};_0x113710['recursive']=!![],fs['mkdirSync'](this[_0x514808(0xe5)],_0x113710);continue;case'1':this[_0x514808(0xe5)]=path['join'](process[_0x514808(0x112)](),TestDetails[_0x514808(0xbf)]());continue;case'2':const _0x487276={};_0x487276[_0x514808(0x107)]=!![],fs['mkdirSync'](this[_0x514808(0x10c)],_0x487276);continue;case'3':this[_0x514808(0x10c)]=path[_0x514808(0xfa)](this[_0x514808(0xe5)],_0xc1fea3['awOUk']);continue;case'4':this[_0x514808(0x103)]();continue;}break;}}static[a42_0x2299c3(0xbf)](){const _0x44399b=a42_0x2299c3,_0x3e0b51={};_0x3e0b51[_0x44399b(0xf6)]=function(_0x19f41e,_0x4ed847){return _0x19f41e+_0x4ed847;},_0x3e0b51[_0x44399b(0x105)]=function(_0x168801,_0x8b67b7){return _0x168801+_0x8b67b7;};const _0x3d7edb=_0x3e0b51;return _0x3d7edb[_0x44399b(0xf6)](_0x3d7edb[_0x44399b(0x105)](TEMP_STORE_DIR_NAME,'-'),process[_0x44399b(0xeb)][_0x44399b(0xc6)]);}static[a42_0x2299c3(0x114)](){const _0x19b1fa=a42_0x2299c3,_0x3e6092={};_0x3e6092[_0x19b1fa(0xcf)]=function(_0x1038af,_0x3631bc){return _0x1038af+_0x3631bc;},_0x3e6092['sSVAP']='default';const _0xcdc93a=_0x3e6092;return path[_0x19b1fa(0xfa)](process[_0x19b1fa(0x112)](),_0xcdc93a[_0x19b1fa(0xcf)](_0xcdc93a[_0x19b1fa(0xcf)](TEMP_STORE_DIR_NAME,'-'),process['env']['BS_TESTOPS_BUILD_HASHED_ID']||_0xcdc93a[_0x19b1fa(0xe1)]));}static[a42_0x2299c3(0xfb)](){const _0x389772=a42_0x2299c3,_0x44fe31={};_0x44fe31['JIZeR']=_0x389772(0xd3);const _0x4edeb0=_0x44fe31;return path[_0x389772(0xfa)](this[_0x389772(0x114)](),_0x4edeb0[_0x389772(0xf2)]);}static[a42_0x2299c3(0x111)](_0x579e76){const _0x355e73=a42_0x2299c3,_0x51d6d6={};_0x51d6d6[_0x355e73(0x110)]=function(_0x4f94a9,_0x5af0e0){return _0x4f94a9+_0x5af0e0;},_0x51d6d6[_0x355e73(0xf7)]=_0x355e73(0x10d);const _0x295f36=_0x51d6d6;return path[_0x355e73(0xfa)](this[_0x355e73(0xe5)],_0x295f36['sLflu'](_0x579e76,_0x295f36[_0x355e73(0xf7)]));}static[a42_0x2299c3(0xef)](_0x1b09cb){const _0x217d4a=a42_0x2299c3,_0x1bbbea={};_0x1bbbea[_0x217d4a(0x10a)]=function(_0x59e3d3,_0x206844){return _0x59e3d3+_0x206844;},_0x1bbbea[_0x217d4a(0xbd)]=function(_0x6c03d9,_0x34f6ab){return _0x6c03d9+_0x34f6ab;},_0x1bbbea['esvwK']=function(_0x2d4c79,_0x5e003c){return _0x2d4c79+_0x5e003c;};const _0x18fd2e=_0x1bbbea;return _0x18fd2e[_0x217d4a(0x10a)](_0x18fd2e['FjUjR'](_0x18fd2e[_0x217d4a(0xbd)](_0x18fd2e[_0x217d4a(0xf3)](this[_0x217d4a(0xe4)](_0x1b09cb),'-'),this[_0x217d4a(0xd8)](_0x1b09cb)),'-'),_0x1b09cb['retry']);}static[a42_0x2299c3(0xe4)](_0x3f42a1){const _0x2c938b=a42_0x2299c3,_0x2b23c3={'snIMb':function(_0x3d3705,_0x2b9285,_0x22eefa){return _0x3d3705(_0x2b9285,_0x22eefa);},'hEQUL':_0x2c938b(0xf0),'BAzBO':_0x2c938b(0x115),'GRucu':function(_0x58ae01,_0x26f267,_0x30ec66){return _0x58ae01(_0x26f267,_0x30ec66);},'LMFlL':_0x2c938b(0xcc),'SFkJt':'__projectId'};return _0x2b23c3[_0x2c938b(0xc4)](nestedKeyValue,_0x3f42a1,[_0x2b23c3['hEQUL'],_0x2b23c3[_0x2c938b(0x10e)]])||_0x2b23c3[_0x2c938b(0xdb)](nestedKeyValue,_0x3f42a1,[_0x2b23c3['LMFlL'],_0x2b23c3['SFkJt']]);}static[a42_0x2299c3(0xd8)](_0x4606d3){const _0x3db737=a42_0x2299c3,_0x4c1d86={'ubZFN':function(_0x4bc26b,_0x2d6d73,_0x5dba21){return _0x4bc26b(_0x2d6d73,_0x5dba21);},'CZFeT':_0x3db737(0xf0)};return _0x4c1d86[_0x3db737(0xdf)](nestedKeyValue,_0x4606d3,[_0x4c1d86['CZFeT'],'id'])||_0x4606d3[_0x3db737(0xf9)];}static[a42_0x2299c3(0xe7)](_0x32e70c){const _0x1fdeb9=a42_0x2299c3,_0x54f75f={'pJAGt':function(_0x42a527,_0x479348){return _0x42a527===_0x479348;},'uGWzX':'string','BoDPH':function(_0x411b2d){return _0x411b2d();}};if(this[_0x1fdeb9(0xbb)][_0x32e70c]&&_0x54f75f['pJAGt'](typeof this[_0x1fdeb9(0xbb)][_0x32e70c][_0x1fdeb9(0x108)],_0x54f75f[_0x1fdeb9(0xec)]))return this[_0x1fdeb9(0xbb)][_0x32e70c][_0x1fdeb9(0x108)];const _0x2c65b9=this[_0x1fdeb9(0x111)](_0x32e70c);if(fs[_0x1fdeb9(0x100)](_0x2c65b9)){const _0x2430b5=JSON[_0x1fdeb9(0xc5)](fs[_0x1fdeb9(0xcd)](_0x2c65b9)[_0x1fdeb9(0xfd)]());return this[_0x1fdeb9(0xbb)][_0x32e70c]=_0x2430b5,this['tests'][_0x32e70c]['uuid'];}return this[_0x1fdeb9(0xbb)][_0x32e70c]={'uuid':_0x54f75f['BoDPH'](uuidv4)},fs[_0x1fdeb9(0x113)](_0x2c65b9,JSON[_0x1fdeb9(0xe3)](this[_0x1fdeb9(0xbb)][_0x32e70c])),this[_0x1fdeb9(0xbb)][_0x32e70c][_0x1fdeb9(0x108)];}static[a42_0x2299c3(0xc9)](_0x41d527){const _0x418567=a42_0x2299c3,_0x5807f7=path[_0x418567(0xfa)](this[_0x418567(0xe5)],_0x41d527+'_platformDetails.json');if(fs[_0x418567(0x100)](_0x5807f7))return fs[_0x418567(0xcd)](_0x5807f7)[_0x418567(0xfd)]();}static['setAccessibilityPlatformValidation'](_0x514bba,_0x45fa46){const _0x32e7e9=a42_0x2299c3,_0x4374b4=path[_0x32e7e9(0xfa)](this['dirPath'],_0x45fa46+_0x32e7e9(0xe0));fs[_0x32e7e9(0x113)](_0x4374b4,_0x514bba[_0x32e7e9(0xfd)]());}static[a42_0x2299c3(0x103)](){const _0x50a4a2=a42_0x2299c3,_0x7db234={};_0x7db234[_0x50a4a2(0x107)]=!![],_0x7db234[_0x50a4a2(0xed)]=!![],fs['rmSync'](this[_0x50a4a2(0xe5)],_0x7db234);}static[a42_0x2299c3(0xfc)](_0x6b2f68){const _0x88d252=a42_0x2299c3;if(this[_0x88d252(0xbb)][_0x6b2f68])return this[_0x88d252(0xbb)][_0x6b2f68];const _0x346fd5=this[_0x88d252(0x111)](_0x6b2f68);if(fs[_0x88d252(0x100)](_0x346fd5)){const _0x2bf9e6=JSON[_0x88d252(0xc5)](fs[_0x88d252(0xcd)](_0x346fd5)[_0x88d252(0xfd)]());return this['tests'][_0x6b2f68]=_0x2bf9e6,_0x2bf9e6;}return{};}static['setTestDetails'](_0x48621c,_0x53c0d4){const _0x40eca1=a42_0x2299c3,_0x227c2c=this[_0x40eca1(0x111)](_0x48621c);if(fs[_0x40eca1(0x100)](_0x227c2c)){const _0xf74417=JSON[_0x40eca1(0xc5)](fs['readFileSync'](_0x227c2c)[_0x40eca1(0xfd)]()),_0x38b2f2={..._0xf74417,..._0x53c0d4};this['tests'][_0x48621c]=_0x38b2f2;}else this[_0x40eca1(0xbb)][_0x48621c]=_0x53c0d4;fs[_0x40eca1(0x113)](_0x227c2c,this[_0x40eca1(0xbb)][_0x48621c]);}static[a42_0x2299c3(0xd9)](_0x1ffe29){const _0x6e18c2=a42_0x2299c3,_0xf1d0a1={};_0xf1d0a1[_0x6e18c2(0xe8)]=_0x6e18c2(0xc3);const _0x38addd=_0xf1d0a1;try{const _0x43b629=process[_0x6e18c2(0xff)],_0xec3d3d=path[_0x6e18c2(0xfa)](TestDetails['getTraceZipDir'](),_0x43b629+_0x6e18c2(0xf8));let _0x125c49=[];fs['existsSync'](_0xec3d3d)&&(_0x125c49=JSON[_0x6e18c2(0xc5)](fs['readFileSync'](_0xec3d3d)['toString']())),!_0x125c49[_0x6e18c2(0xe2)](_0x31ebdc=>_0x31ebdc[_0x6e18c2(0xd7)]===_0x1ffe29['filePath'])&&(_0x125c49['push'](_0x1ffe29),fs[_0x6e18c2(0x113)](_0xec3d3d,JSON[_0x6e18c2(0xe3)](_0x125c49)));}catch(_0x2c86b6){logger[_0x6e18c2(0xf4)](_0x38addd[_0x6e18c2(0xe8)],_0x2c86b6);}}static['getTraceFilePaths'](){const _0x321a9b=a42_0x2299c3,_0xc5a251={};_0xc5a251['vapFO']=_0x321a9b(0xf8),_0xc5a251[_0x321a9b(0xd0)]='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x102ceb=_0xc5a251,_0x18eb5a=[];try{const _0x4d5c62=TestDetails['getTraceZipDir']();if(!fs['existsSync'](_0x4d5c62))return _0x18eb5a;const _0x300ef2=fs['readdirSync'](_0x4d5c62);_0x300ef2[_0x321a9b(0xee)](_0x15b5b7=>{const _0x548370=_0x321a9b;if(_0x15b5b7[_0x548370(0xbc)](_0x102ceb['vapFO'])){const _0x532747=JSON[_0x548370(0xc5)](fs[_0x548370(0xcd)](path[_0x548370(0xfa)](_0x4d5c62,_0x15b5b7))['toString']());_0x18eb5a['push'](..._0x532747);}});}catch(_0x2a593f){logger['error'](util[_0x321a9b(0xdd)](_0x102ceb[_0x321a9b(0xd0)],_0x2a593f));}const _0x370bd4={};return _0x18eb5a[_0x321a9b(0xee)](_0x415e3e=>{const _0x301b9c=_0x321a9b;_0x370bd4[_0x415e3e[_0x301b9c(0xd7)]]=_0x415e3e;}),Object[_0x321a9b(0xd2)](_0x370bd4);}static[a42_0x2299c3(0xea)](_0x196976,_0x263462){const _0x15d2ff=a42_0x2299c3,_0x1f04ab={};_0x1f04ab[_0x15d2ff(0x10b)]='.browserstack',_0x1f04ab[_0x15d2ff(0xd5)]=_0x15d2ff(0xfe);const _0x50f2d6=_0x1f04ab;try{const _0x191544=path[_0x15d2ff(0xfa)](helper[_0x15d2ff(0xce)](),_0x50f2d6[_0x15d2ff(0x10b)]);if(!fs[_0x15d2ff(0x100)](_0x191544)){const _0xadc552={};_0xadc552['recursive']=!![],fs[_0x15d2ff(0xc7)](_0x191544,_0xadc552);}fs[_0x15d2ff(0x101)](path[_0x15d2ff(0xfa)](_0x191544,_0x15d2ff(0xc2)+_0x263462+'.txt'),_0x196976+'\x0a',_0x50f2d6['VwBkd']);}catch(_0x26c3bb){console[_0x15d2ff(0xf4)](_0x15d2ff(0xe9)+_0x26c3bb[_0x15d2ff(0x102)]);}}}module[a42_0x2299c3(0xf1)]=TestDetails;
|
|
1
|
+
const a42_0x2b1338=a42_0x38e3;(function(_0x404d4a,_0x47eefd){const _0x207635=a42_0x38e3,_0xd8fd54=_0x404d4a();while(!![]){try{const _0x10af23=parseInt(_0x207635(0x201))/0x1+-parseInt(_0x207635(0x1d6))/0x2+parseInt(_0x207635(0x20d))/0x3+parseInt(_0x207635(0x1f5))/0x4+-parseInt(_0x207635(0x1f3))/0x5*(parseInt(_0x207635(0x218))/0x6)+parseInt(_0x207635(0x228))/0x7+parseInt(_0x207635(0x1e0))/0x8;if(_0x10af23===_0x47eefd)break;else _0xd8fd54['push'](_0xd8fd54['shift']());}catch(_0x18fdab){_0xd8fd54['push'](_0xd8fd54['shift']());}}}(a42_0x2109,0x3b3f8));const fs=require('fs'),path=require(a42_0x2b1338(0x1dd)),{v4:uuidv4}=require(a42_0x2b1338(0x219)),{TEMP_STORE_DIR_NAME}=require(a42_0x2b1338(0x21e)),{nestedKeyValue}=require(a42_0x2b1338(0x20b)),logger=require(a42_0x2b1338(0x21c))['winstonLogger'],util=require('util'),helper=require(a42_0x2b1338(0x20b));class TestDetails{static ['tests']={};static [a42_0x2b1338(0x22d)]=path[a42_0x2b1338(0x1d3)](process[a42_0x2b1338(0x1e5)](),TestDetails['getStoreDirName']());static [a42_0x2b1338(0x221)]=path[a42_0x2b1338(0x1d3)](TestDetails[a42_0x2b1338(0x22d)],a42_0x2b1338(0x217));static[a42_0x2b1338(0x1da)](){const _0x22ebe8=a42_0x2b1338,_0xbeb944={};_0xbeb944[_0x22ebe8(0x1fe)]=_0x22ebe8(0x206),_0xbeb944[_0x22ebe8(0x21d)]=_0x22ebe8(0x217);const _0x92955c=_0xbeb944,_0x3c3240=_0x92955c[_0x22ebe8(0x1fe)][_0x22ebe8(0x1dc)]('|');let _0x25548b=0x0;while(!![]){switch(_0x3c3240[_0x25548b++]){case'0':this[_0x22ebe8(0x22d)]=path['join'](process[_0x22ebe8(0x1e5)](),TestDetails[_0x22ebe8(0x214)]());continue;case'1':const _0x2e4c55={};_0x2e4c55['recursive']=!![],fs[_0x22ebe8(0x1df)](this[_0x22ebe8(0x22d)],_0x2e4c55);continue;case'2':const _0x56fdfd={};_0x56fdfd[_0x22ebe8(0x1e7)]=!![],fs['mkdirSync'](this['traceZipDir'],_0x56fdfd);continue;case'3':this[_0x22ebe8(0x221)]=path[_0x22ebe8(0x1d3)](this['dirPath'],_0x92955c[_0x22ebe8(0x21d)]);continue;case'4':this[_0x22ebe8(0x204)]();continue;}break;}}static['getStoreDirName'](){const _0x193d9e=a42_0x2b1338,_0x4f1f9f={};_0x4f1f9f['AKRHR']=function(_0x2523c0,_0x183fb1){return _0x2523c0+_0x183fb1;};const _0x2494da=_0x4f1f9f;return _0x2494da[_0x193d9e(0x1e1)](_0x2494da[_0x193d9e(0x1e1)](TEMP_STORE_DIR_NAME,'-'),process[_0x193d9e(0x1eb)][_0x193d9e(0x215)]);}static[a42_0x2b1338(0x1ed)](){const _0x4035f0=a42_0x2b1338,_0x39b34a={};_0x39b34a[_0x4035f0(0x1e9)]=function(_0x45553f,_0xac1b03){return _0x45553f+_0xac1b03;},_0x39b34a[_0x4035f0(0x200)]='default';const _0x16a01a=_0x39b34a;return path[_0x4035f0(0x1d3)](process[_0x4035f0(0x1e5)](),_0x16a01a['xnReU'](_0x16a01a[_0x4035f0(0x1e9)](TEMP_STORE_DIR_NAME,'-'),process[_0x4035f0(0x1eb)][_0x4035f0(0x215)]||_0x16a01a[_0x4035f0(0x200)]));}static[a42_0x2b1338(0x1de)](){const _0x468270=a42_0x2b1338,_0x14a99e={};_0x14a99e['rcwXf']=_0x468270(0x217);const _0x51923f=_0x14a99e;return path[_0x468270(0x1d3)](this['getStoreDirPath'](),_0x51923f['rcwXf']);}static['getFilePath'](_0x4be03a){const _0x4a6c7d=a42_0x2b1338,_0x2fa275={};_0x2fa275[_0x4a6c7d(0x1fd)]=function(_0x203dc5,_0x7c772e){return _0x203dc5+_0x7c772e;},_0x2fa275[_0x4a6c7d(0x1f6)]='.json';const _0x2f07d9=_0x2fa275;return path[_0x4a6c7d(0x1d3)](this[_0x4a6c7d(0x22d)],_0x2f07d9[_0x4a6c7d(0x1fd)](_0x4be03a,_0x2f07d9[_0x4a6c7d(0x1f6)]));}static['getTestRunIdFromTestInfo'](_0x33480e){const _0x1e5421=a42_0x2b1338,_0x283584={};_0x283584['JwnGK']=function(_0x45a339,_0x32b785){return _0x45a339+_0x32b785;},_0x283584[_0x1e5421(0x224)]=function(_0x358add,_0x204b3f){return _0x358add+_0x204b3f;};const _0x2ee728=_0x283584;return _0x2ee728[_0x1e5421(0x203)](_0x2ee728[_0x1e5421(0x203)](_0x2ee728[_0x1e5421(0x224)](_0x2ee728['JwnGK'](this['getProjectIdFromTestInfo'](_0x33480e),'-'),this['getTestIdFromTestInfo'](_0x33480e)),'-'),_0x33480e[_0x1e5421(0x1d4)]);}static[a42_0x2b1338(0x229)](_0x4b5af9){const _0x18674f=a42_0x2b1338,_0x464928={'BvnXf':function(_0x246238,_0x1954fa,_0x491212){return _0x246238(_0x1954fa,_0x491212);},'HYSEf':_0x18674f(0x21a),'QyqPA':_0x18674f(0x226),'iuzmx':function(_0x1b6346,_0x10f6ea,_0x48dc24){return _0x1b6346(_0x10f6ea,_0x48dc24);},'nwctg':_0x18674f(0x1e4),'mxwmm':'__projectId'};return _0x464928[_0x18674f(0x1f4)](nestedKeyValue,_0x4b5af9,[_0x464928[_0x18674f(0x207)],_0x464928[_0x18674f(0x1d5)]])||_0x464928[_0x18674f(0x1f2)](nestedKeyValue,_0x4b5af9,[_0x464928['nwctg'],_0x464928[_0x18674f(0x20e)]]);}static[a42_0x2b1338(0x1d9)](_0x562064){const _0x401ac2=a42_0x2b1338,_0x345fe4={'fXHJv':function(_0x153a20,_0x5e1f1f,_0x583ca3){return _0x153a20(_0x5e1f1f,_0x583ca3);},'Sxoba':_0x401ac2(0x21a)};return _0x345fe4[_0x401ac2(0x1f9)](nestedKeyValue,_0x562064,[_0x345fe4['Sxoba'],'id'])||_0x562064[_0x401ac2(0x21f)];}static[a42_0x2b1338(0x220)](_0x152c02){const _0x18e639=a42_0x2b1338,_0x2b3e52={'IryCI':function(_0x5bf087,_0x54c033){return _0x5bf087===_0x54c033;},'TBcpJ':_0x18e639(0x210),'ERyFs':function(_0x3ce37f){return _0x3ce37f();}};if(this[_0x18e639(0x209)][_0x152c02]&&_0x2b3e52[_0x18e639(0x1f1)](typeof this['tests'][_0x152c02][_0x18e639(0x219)],_0x2b3e52[_0x18e639(0x20c)]))return this['tests'][_0x152c02][_0x18e639(0x219)];const _0x23f6ea=this[_0x18e639(0x20f)](_0x152c02);if(fs[_0x18e639(0x1ee)](_0x23f6ea)){const _0x181ec1=JSON[_0x18e639(0x1e3)](fs[_0x18e639(0x1db)](_0x23f6ea)[_0x18e639(0x22e)]());return this['tests'][_0x152c02]=_0x181ec1,this[_0x18e639(0x209)][_0x152c02][_0x18e639(0x219)];}return this[_0x18e639(0x209)][_0x152c02]={'uuid':_0x2b3e52[_0x18e639(0x20a)](uuidv4)},fs['writeFileSync'](_0x23f6ea,JSON['stringify'](this[_0x18e639(0x209)][_0x152c02])),this[_0x18e639(0x209)][_0x152c02][_0x18e639(0x219)];}static[a42_0x2b1338(0x1fb)](_0xc94866){const _0xb146a5=a42_0x2b1338,_0x41c609=path[_0xb146a5(0x1d3)](this[_0xb146a5(0x22d)],_0xc94866+_0xb146a5(0x222));if(fs[_0xb146a5(0x1ee)](_0x41c609))return fs[_0xb146a5(0x1db)](_0x41c609)[_0xb146a5(0x22e)]();}static['setAccessibilityPlatformValidation'](_0x956293,_0x5b0a9d){const _0x26f113=a42_0x2b1338,_0x567319=path[_0x26f113(0x1d3)](this[_0x26f113(0x22d)],_0x5b0a9d+_0x26f113(0x222));fs[_0x26f113(0x22a)](_0x567319,_0x956293[_0x26f113(0x22e)]());}static[a42_0x2b1338(0x204)](){const _0xbc61aa=a42_0x2b1338,_0x2125e5={};_0x2125e5[_0xbc61aa(0x1e7)]=!![],_0x2125e5[_0xbc61aa(0x1ea)]=!![],fs[_0xbc61aa(0x22b)](this[_0xbc61aa(0x22d)],_0x2125e5);}static['getTestDetails'](_0x1d2fe2){const _0x5071e4=a42_0x2b1338;if(this[_0x5071e4(0x209)][_0x1d2fe2])return this[_0x5071e4(0x209)][_0x1d2fe2];const _0x4e67b1=this['getFilePath'](_0x1d2fe2);if(fs['existsSync'](_0x4e67b1)){const _0xeb8707=JSON[_0x5071e4(0x1e3)](fs[_0x5071e4(0x1db)](_0x4e67b1)['toString']());return this[_0x5071e4(0x209)][_0x1d2fe2]=_0xeb8707,_0xeb8707;}return{};}static[a42_0x2b1338(0x223)](_0x2266e8,_0x4fb37a){const _0x3a55f5=a42_0x2b1338,_0x169c55=this['getFilePath'](_0x2266e8);if(fs['existsSync'](_0x169c55)){const _0x35ff2f=JSON[_0x3a55f5(0x1e3)](fs[_0x3a55f5(0x1db)](_0x169c55)[_0x3a55f5(0x22e)]()),_0xc3f67d={..._0x35ff2f,..._0x4fb37a};this[_0x3a55f5(0x209)][_0x2266e8]=_0xc3f67d;}else this[_0x3a55f5(0x209)][_0x2266e8]=_0x4fb37a;fs[_0x3a55f5(0x22a)](_0x169c55,this[_0x3a55f5(0x209)][_0x2266e8]);}static[a42_0x2b1338(0x21b)](_0x14492a){const _0x1fa0c4=a42_0x2b1338,_0x25a2fd={};_0x25a2fd[_0x1fa0c4(0x211)]=_0x1fa0c4(0x1f7);const _0x61fac6=_0x25a2fd;try{const _0x4c37f4=process[_0x1fa0c4(0x1fa)],_0xc3442a=path['join'](TestDetails[_0x1fa0c4(0x1de)](),_0x4c37f4+'_traceZipPaths.json');let _0x1e980d=[];fs[_0x1fa0c4(0x1ee)](_0xc3442a)&&(_0x1e980d=JSON[_0x1fa0c4(0x1e3)](fs[_0x1fa0c4(0x1db)](_0xc3442a)[_0x1fa0c4(0x22e)]())),!_0x1e980d[_0x1fa0c4(0x1f8)](_0x2c0978=>_0x2c0978[_0x1fa0c4(0x1e6)]===_0x14492a['filePath'])&&(_0x1e980d[_0x1fa0c4(0x1ff)](_0x14492a),fs['writeFileSync'](_0xc3442a,JSON[_0x1fa0c4(0x1d8)](_0x1e980d)));}catch(_0x30cdac){logger[_0x1fa0c4(0x216)](_0x61fac6[_0x1fa0c4(0x211)],_0x30cdac);}}static[a42_0x2b1338(0x1e2)](){const _0xd920a8=a42_0x2b1338,_0x24115f={};_0x24115f[_0xd920a8(0x1ec)]=_0xd920a8(0x22c),_0x24115f['vjMVE']=_0xd920a8(0x1d2);const _0x339878=_0x24115f,_0xb8c9c5=[];try{const _0x1c1a07=TestDetails[_0xd920a8(0x1de)]();if(!fs['existsSync'](_0x1c1a07))return _0xb8c9c5;const _0x2bdf83=fs[_0xd920a8(0x1d7)](_0x1c1a07);_0x2bdf83['forEach'](_0x3ce4c4=>{const _0x261d28=_0xd920a8;if(_0x3ce4c4['endsWith'](_0x339878[_0x261d28(0x1ec)])){const _0x29ed4b=JSON[_0x261d28(0x1e3)](fs['readFileSync'](path['join'](_0x1c1a07,_0x3ce4c4))[_0x261d28(0x22e)]());_0xb8c9c5[_0x261d28(0x1ff)](..._0x29ed4b);}});}catch(_0x2244bb){logger[_0xd920a8(0x216)](util[_0xd920a8(0x1d1)](_0x339878[_0xd920a8(0x1e8)],_0x2244bb));}const _0x229ddd={};return _0xb8c9c5[_0xd920a8(0x208)](_0xa1dabb=>{const _0x320d31=_0xd920a8;_0x229ddd[_0xa1dabb[_0x320d31(0x1e6)]]=_0xa1dabb;}),Object['values'](_0x229ddd);}static[a42_0x2b1338(0x213)](_0x380bd2,_0x1cd733){const _0x616ccb=a42_0x2b1338,_0x326808={};_0x326808[_0x616ccb(0x1f0)]=_0x616ccb(0x212),_0x326808[_0x616ccb(0x1ef)]=_0x616ccb(0x227);const _0x333a10=_0x326808;try{const _0x534281=path[_0x616ccb(0x1d3)](helper[_0x616ccb(0x225)](),_0x333a10['Fmwzj']);if(!fs[_0x616ccb(0x1ee)](_0x534281)){const _0x17b250={};_0x17b250[_0x616ccb(0x1e7)]=!![],fs['mkdirSync'](_0x534281,_0x17b250);}fs[_0x616ccb(0x1d0)](path[_0x616ccb(0x1d3)](_0x534281,_0x616ccb(0x202)+_0x1cd733+_0x616ccb(0x1fc)),_0x380bd2+'\x0a',_0x333a10[_0x616ccb(0x1ef)]);}catch(_0x2c6d81){console[_0x616ccb(0x216)](_0x616ccb(0x205)+_0x2c6d81['message']);}}}function a42_0x38e3(_0x4ad916,_0x5f5846){const _0x210993=a42_0x2109();return a42_0x38e3=function(_0x38e3d1,_0x4c070b){_0x38e3d1=_0x38e3d1-0x1d0;let _0x1c314e=_0x210993[_0x38e3d1];return _0x1c314e;},a42_0x38e3(_0x4ad916,_0x5f5846);}module['exports']=TestDetails;function a42_0x2109(){const _0x41792c=['readFileSync','split','path','getTraceZipDir','mkdirSync','388216jYonwO','AKRHR','getTraceFilePaths','parse','project','cwd','filePath','recursive','vjMVE','xnReU','force','env','vABYc','getStoreDirPath','existsSync','ShTRJ','Fmwzj','IryCI','iuzmx','245fTSDRx','BvnXf','485952BmaCAq','oOdPE','Error\x20handling\x20trace\x20file\x20paths:\x20','some','fXHJv','pid','getAccessibilityPlatformValidation','.txt','CqpvW','StuOe','push','rgkHC','21050hPJXZb','trace_','JwnGK','shutdown','Error\x20writing\x20trace\x20file:\x20','0|3|4|1|2','HYSEf','forEach','tests','ERyFs','../../../helpers/helper','TBcpJ','432402mFCmEA','mxwmm','getFilePath','string','mHuBT','.browserstack','appendToTracePaths','getStoreDirName','BS_TESTOPS_BUILD_HASHED_ID','error','traceZipPaths','31578lRenFm','uuid','_test','addTraceFilePath','../../../helpers/logger','MmpYC','../../../helpers/test-observability/constants','testId','getTestUUID','traceZipDir','_platformDetails.json','setTestDetails','qRKMl','homedir','_projectId','utf8','3106502qALuNX','getProjectIdFromTestInfo','writeFileSync','rmSync','_traceZipPaths.json','dirPath','toString','appendFileSync','format','Error\x20reading\x20trace\x20file\x20paths:\x20%s','join','retry','QyqPA','556836VnvjIO','readdirSync','stringify','getTestIdFromTestInfo','setup'];a42_0x2109=function(){return _0x41792c;};return a42_0x2109();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a43_0x8be63c=a43_0x1e2e;(function(_0x56f14a,_0x31d8e1){const _0x51f0e0=a43_0x1e2e,_0x32c9de=_0x56f14a();while(!![]){try{const _0x4718ef=parseInt(_0x51f0e0(0x1ae))/0x1*(-parseInt(_0x51f0e0(0x1c8))/0x2)+-parseInt(_0x51f0e0(0x201))/0x3+-parseInt(_0x51f0e0(0x1b3))/0x4+-parseInt(_0x51f0e0(0x1e7))/0x5*(parseInt(_0x51f0e0(0x202))/0x6)+-parseInt(_0x51f0e0(0x230))/0x7*(-parseInt(_0x51f0e0(0x22c))/0x8)+parseInt(_0x51f0e0(0x1a6))/0x9*(parseInt(_0x51f0e0(0x232))/0xa)+parseInt(_0x51f0e0(0x1f9))/0xb;if(_0x4718ef===_0x31d8e1)break;else _0x32c9de['push'](_0x32c9de['shift']());}catch(_0x508331){_0x32c9de['push'](_0x32c9de['shift']());}}}(a43_0x3a3f,0xa6e46));const path=require(a43_0x8be63c(0x1a0)),url=require(a43_0x8be63c(0x1af)),util=require(a43_0x8be63c(0x221)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a43_0x8be63c(0x218)),{o11yErrorHandler}=require(a43_0x8be63c(0x21e)),{debug,getPlatformDetails}=require(a43_0x8be63c(0x19b)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x8be63c(0x1c9)),logger=require(a43_0x8be63c(0x1ca))[a43_0x8be63c(0x210)],scripts=require(a43_0x8be63c(0x235)),{browserStackExecuteDriver}=require(a43_0x8be63c(0x1e1)),AccessibilityHelper=require(a43_0x8be63c(0x213)),constants=require(a43_0x8be63c(0x1e8)),getBrowserNameFromChannel=_0x32c009=>{const _0x48a96a=a43_0x8be63c,_0x30527b={};_0x30527b[_0x48a96a(0x1a5)]='chrome',_0x30527b[_0x48a96a(0x20c)]=_0x48a96a(0x1bd),_0x30527b[_0x48a96a(0x1d1)]='firefox',_0x30527b[_0x48a96a(0x1e0)]=_0x48a96a(0x1d3);const _0x3ec6a1=_0x30527b;if(_0x32c009[_0x48a96a(0x1f7)](_0x3ec6a1[_0x48a96a(0x1a5)]))return _0x3ec6a1[_0x48a96a(0x1a5)];if(_0x32c009[_0x48a96a(0x1f7)](_0x3ec6a1[_0x48a96a(0x20c)]))return _0x3ec6a1[_0x48a96a(0x20c)];if(_0x32c009[_0x48a96a(0x1f7)](_0x3ec6a1[_0x48a96a(0x1d1)]))return _0x3ec6a1['LWIbB'];if(_0x32c009[_0x48a96a(0x1f7)](_0x3ec6a1[_0x48a96a(0x1e0)]))return _0x3ec6a1['eaiho'];},getBrowserFromWSEndpoint=_0x1e0e51=>{const _0xc72b52=a43_0x8be63c,_0x4b24eb={'YBYvG':'chrome','swgjG':function(_0x58c579,_0x1e101c){return _0x58c579(_0x1e101c);}};try{const _0x4f393d=url[_0xc72b52(0x216)](_0x1e0e51),_0x1d804f=new URLSearchParams(_0x4f393d[_0xc72b52(0x204)]),_0x3cd0e0=Object[_0xc72b52(0x224)](_0x1d804f[_0xc72b52(0x195)]()),_0x159a9c=JSON['parse'](_0x3cd0e0['caps']);if(_0x159a9c&&(_0x159a9c[_0xc72b52(0x1d7)]||_0x159a9c[_0xc72b52(0x1b6)]))return _0x159a9c['browser']||_0x159a9c[_0xc72b52(0x1b6)];return _0x4b24eb[_0xc72b52(0x192)];}catch(_0x262824){_0x4b24eb[_0xc72b52(0x20d)](debug,_0xc72b52(0x191)+_0x262824[_0xc72b52(0x1bf)]());}},getCloudProviderFromWsEndpoint=_0xb47ce6=>{const _0x31f889=a43_0x8be63c,_0x33841b={};_0x33841b[_0x31f889(0x18f)]='browserstack.com',_0x33841b[_0x31f889(0x1c6)]=_0x31f889(0x21a),_0x33841b['GTnXt']=_0x31f889(0x219),_0x33841b[_0x31f889(0x194)]=_0x31f889(0x18b);const _0x512a38=_0x33841b;if(_0xb47ce6[_0x31f889(0x1f7)](_0x512a38[_0x31f889(0x18f)])||_0xb47ce6[_0x31f889(0x1f7)](_0x512a38[_0x31f889(0x1c6)]))return _0x512a38[_0x31f889(0x1e4)];return _0x512a38[_0x31f889(0x194)];},a43_0x57cf58={};a43_0x57cf58[a43_0x8be63c(0x205)]=undefined,a43_0x57cf58['bsSessionId']=undefined,a43_0x57cf58[a43_0x8be63c(0x1d7)]=undefined,a43_0x57cf58[a43_0x8be63c(0x185)]=undefined,a43_0x57cf58[a43_0x8be63c(0x1a4)]=undefined,a43_0x57cf58[a43_0x8be63c(0x1d0)]=undefined,a43_0x57cf58['product']=undefined,a43_0x57cf58['capabilities']={};class PlaywrightSessionDetails{static [a43_0x8be63c(0x196)]=a43_0x57cf58;constructor(){const _0x4da03e=a43_0x8be63c,_0x1fbd05={};_0x1fbd05['RECkE']=_0x4da03e(0x1f5);const _0x390ea6=_0x1fbd05;throw new Error(_0x390ea6[_0x4da03e(0x1de)]);}static [a43_0x8be63c(0x17d)]=null;static['setupBrowserDetails'](_0xf240bb,_0x30f4b5,_0xebc27e=null){const _0xc09e2f=a43_0x8be63c,_0x57a5d2={'YDBLF':function(_0x4a80c2,_0x204aa3){return _0x4a80c2===_0x204aa3;},'nunDY':_0xc09e2f(0x1c4),'FljfK':_0xc09e2f(0x1c0),'jbCsz':_0xc09e2f(0x20f),'jiRpU':_0xc09e2f(0x1d5),'rUDEw':function(_0x439e7d,_0x4d7ee5,_0x1a5026){return _0x439e7d(_0x4d7ee5,_0x1a5026);},'ikazd':_0xc09e2f(0x1e5),'YPvIY':_0xc09e2f(0x19c),'HHQiq':function(_0x182aa9,_0x299e67,_0x4f7b78){return _0x182aa9(_0x299e67,_0x4f7b78);},'cXryL':_0xc09e2f(0x206),'zdYFL':_0xc09e2f(0x21c),'OYQyA':_0xc09e2f(0x1d4),'kXnyy':function(_0x1b04b5,_0x26f7cf){return _0x1b04b5(_0x26f7cf);},'McVZK':function(_0x137934,_0x1da989){return _0x137934===_0x1da989;},'HUPnH':_0xc09e2f(0x219),'GobmP':_0xc09e2f(0x19d),'FJgpK':_0xc09e2f(0x19e),'uhMRZ':function(_0x3ab6ef,_0xd586f7){return _0x3ab6ef(_0xd586f7);},'ZPZKs':function(_0x11a068,_0x1ae2cb){return _0x11a068(_0x1ae2cb);},'Nchgx':function(_0x32a625,_0xdcfbce){return _0x32a625+_0xdcfbce;},'eKRpx':_0xc09e2f(0x181),'qqipd':function(_0x1e1197){return _0x1e1197();},'KTXHu':'setupBrowserDetails'},_0x456059=this;return _0x57a5d2[_0xc09e2f(0x22f)](o11yErrorHandler,async function _0x4ba7ba(_0x38e818,_0x41c93a,_0x46b28e=null){const _0x59bd11=_0xc09e2f;let _0x258fe7=_0x38e818['_name'],_0x40baee=null;_0x38e818&&_0x57a5d2[_0x59bd11(0x234)](typeof _0x38e818[_0x59bd11(0x18d)],_0x57a5d2['nunDY'])?_0x40baee=_0x38e818[_0x59bd11(0x18d)]():logger[_0x59bd11(0x222)](_0x57a5d2[_0x59bd11(0x1b2)]);let _0x479af8=null;_0x38e818&&_0x57a5d2[_0x59bd11(0x234)](typeof _0x38e818[_0x59bd11(0x223)],_0x57a5d2[_0x59bd11(0x21f)])?_0x479af8=_0x38e818[_0x59bd11(0x223)]():logger[_0x59bd11(0x222)](_0x57a5d2['jbCsz']);let _0x3b4449=null,_0x2e02bc=null,_0x486f5f=null,_0x29d6cd=_0x57a5d2[_0x59bd11(0x1db)];if(_0x38e818['_connection']['isRemote']()||global[_0x59bd11(0x1c5)]){let _0x5292b3=null;_0x57a5d2[_0x59bd11(0x22f)](nestedKeyValue,_0x38e818,[_0x57a5d2[_0x59bd11(0x226)],_0x57a5d2[_0x59bd11(0x22d)]])?_0x5292b3=_0x38e818[_0x59bd11(0x1e5)][_0x59bd11(0x19c)]:_0x5292b3=_0x57a5d2[_0x59bd11(0x21d)](nestedKeyValue,_0x41c93a,[_0x57a5d2[_0x59bd11(0x1ec)],_0x57a5d2[_0x59bd11(0x215)],_0x57a5d2['OYQyA']]);const _0x23423a=_0x46b28e||_0x5292b3&&_0x5292b3[_0x59bd11(0x19a)];_0x23423a&&(_0x29d6cd=_0x57a5d2[_0x59bd11(0x1ea)](getCloudProviderFromWsEndpoint,_0x23423a),_0x57a5d2[_0x59bd11(0x1d8)](_0x29d6cd,_0x57a5d2[_0x59bd11(0x1b9)])&&(_0x486f5f=constants[_0x59bd11(0x1f2)]['test'](_0x23423a)?_0x57a5d2[_0x59bd11(0x1ed)]:_0x57a5d2[_0x59bd11(0x1fb)],_0x258fe7=_0x57a5d2[_0x59bd11(0x1c2)](getBrowserFromWSEndpoint,_0x23423a)||_0x258fe7,_0x3b4449=_0x456059[_0x59bd11(0x196)][_0x59bd11(0x1a4)],_0x2e02bc=_0x456059[_0x59bd11(0x196)][_0x59bd11(0x1d0)]));}else{_0x41c93a&&_0x41c93a[_0x59bd11(0x206)][_0x59bd11(0x21c)][_0x59bd11(0x182)]?_0x258fe7=_0x57a5d2[_0x59bd11(0x1be)](getBrowserNameFromChannel,_0x41c93a['project'][_0x59bd11(0x21c)][_0x59bd11(0x182)]):_0x258fe7=_0x57a5d2[_0x59bd11(0x1c3)](_0x57a5d2[_0x59bd11(0x1ba)],_0x258fe7['toLowerCase']());const _0x134080=await _0x57a5d2['qqipd'](getPlatformDetails);_0x3b4449=_0x134080[_0x59bd11(0x193)],_0x2e02bc=_0x134080[_0x59bd11(0x1a1)];}const _0x3240e1={};_0x3240e1[_0x59bd11(0x1d7)]=_0x258fe7,_0x3240e1[_0x59bd11(0x185)]=_0x40baee,_0x3240e1['capabilities']={},_0x3240e1['platform']=_0x3b4449,_0x3240e1[_0x59bd11(0x1d0)]=_0x2e02bc,_0x3240e1[_0x59bd11(0x184)]=_0x486f5f;const _0x382d78=_0x3240e1;_0x479af8&&(_0x382d78['capabilities']['deviceModel']=_0x479af8);const _0x58b6e3={};_0x58b6e3[_0x59bd11(0x205)]=_0x29d6cd,_0x456059[_0x59bd11(0x196)]=Object[_0x59bd11(0x233)]({},_0x456059['currentSessionDetails'],_0x58b6e3,_0x382d78);},_0x57a5d2[_0xc09e2f(0x1b1)])(_0xf240bb,_0x30f4b5,_0xebc27e);}static[a43_0x8be63c(0x1da)](){const _0x26fa64=a43_0x8be63c;this[_0x26fa64(0x1fe)](),this[_0x26fa64(0x1d6)]();}static[a43_0x8be63c(0x1fe)](){const _0x265260=a43_0x8be63c,_0x5b8fab={'fjIUt':function(_0x44e7bf,_0x530280,_0x8e5dc7){return _0x44e7bf(_0x530280,_0x8e5dc7);},'sOySg':_0x265260(0x18a),'vBGtR':'testInfo','vlpec':_0x265260(0x1d9),'UcgjJ':function(_0x38b259,_0x5388c8,_0x4a1fe0){return _0x38b259(_0x5388c8,_0x4a1fe0);},'iLGjq':function(_0x5c1771,_0x472dc7,_0x33dd54){return _0x5c1771(_0x472dc7,_0x33dd54);},'aWXIy':_0x265260(0x21b),'aIzYH':_0x265260(0x17e),'qvOsK':function(_0x16c85e,_0x5e41d5){return _0x16c85e===_0x5e41d5;},'NzWHr':_0x265260(0x1b4),'qPmvX':function(_0x3ff948,_0x45832f,_0x246d53,_0x5c1eae){return _0x3ff948(_0x45832f,_0x246d53,_0x5c1eae);},'KqJsx':function(_0x2c4343,_0x55b35d){return _0x2c4343(_0x55b35d);},'euVLu':'lib','CsaGC':_0x265260(0x197),'uUhea':'connection.js','QegAa':function(_0x318789,_0x49be7d){return _0x318789(_0x49be7d);},'kkBzS':'Not\x20able\x20to\x20import\x20Connection','liolU':function(_0x7da8c2,_0x4aaa35){return _0x7da8c2(_0x4aaa35);},'KettU':function(_0x5a6ed0,_0x40f59f){return _0x5a6ed0!=_0x40f59f;},'wrQcg':function(_0x3c73ee){return _0x3c73ee();},'hHvKZ':_0x265260(0x1a8),'zmWSA':_0x265260(0x1f3),'Oocgy':function(_0x2a2165,_0x16bb1a){return _0x2a2165(_0x16bb1a);}},_0x967be=this;if(!this[_0x265260(0x190)])try{const _0x2518d6=path[_0x265260(0x1f1)](_0x5b8fab['euVLu'],_0x5b8fab[_0x265260(0x225)],_0x5b8fab['uUhea']),_0x4f86b1=_0x5b8fab[_0x265260(0x1fa)](importFileFromPWCore,_0x2518d6);!_0x4f86b1?_0x5b8fab[_0x265260(0x198)](debug,_0x5b8fab[_0x265260(0x1c1)]):this['Connection']=_0x4f86b1[_0x265260(0x190)];}catch(_0x443ad7){_0x5b8fab[_0x265260(0x1cb)](debug,_0x265260(0x22a)+_0x443ad7[_0x265260(0x1bf)]());}const _0xab6c23=this[_0x265260(0x190)];try{if(_0x5b8fab[_0x265260(0x180)](_0xab6c23,null)){const _0x39a08b=_0xab6c23['prototype'][_0x265260(0x1f3)],_0x57fc93=_0xab6c23[_0x265260(0x187)][_0x265260(0x1a8)];_0x5b8fab[_0x265260(0x220)](isAccessibilityAutomationSession)&&Object[_0x265260(0x19f)](_0xab6c23[_0x265260(0x187)],_0x5b8fab[_0x265260(0x183)],{'get':function(){const _0x2667a5=_0x265260,_0x4eaba7={'TCzbr':function(_0x2e476d,_0x20cb8d,_0x2fc2af){const _0x49e1c8=a43_0x1e2e;return _0x5b8fab[_0x49e1c8(0x1aa)](_0x2e476d,_0x20cb8d,_0x2fc2af);},'bFNpm':_0x5b8fab[_0x2667a5(0x1b5)],'voymt':_0x5b8fab['vBGtR'],'zJgQF':_0x5b8fab[_0x2667a5(0x1ef)],'EaVgW':function(_0x5f394a,_0x244dc7,_0x30c0ad){const _0xc851aa=_0x2667a5;return _0x5b8fab[_0xc851aa(0x1fd)](_0x5f394a,_0x244dc7,_0x30c0ad);},'iMRrl':function(_0x221853,_0x2e5762,_0x22cb5e){const _0x45eda9=_0x2667a5;return _0x5b8fab[_0x45eda9(0x231)](_0x221853,_0x2e5762,_0x22cb5e);},'ojhlH':_0x5b8fab[_0x2667a5(0x189)],'hhJoc':_0x5b8fab[_0x2667a5(0x18c)],'BZWsK':function(_0x4f4c55,_0xe493bf){return _0x5b8fab['qvOsK'](_0x4f4c55,_0xe493bf);},'BYJFm':_0x5b8fab[_0x2667a5(0x1a3)],'XXFJY':function(_0x3a1342,_0x3b55a1,_0x1b7d44,_0x4b10a3){const _0x57b37e=_0x2667a5;return _0x5b8fab[_0x57b37e(0x186)](_0x3a1342,_0x3b55a1,_0x1b7d44,_0x4b10a3);}};return async function(){const _0x5d51fa=_0x2667a5;try{if(!global[_0x5d51fa(0x1b7)]&&global[_0x5d51fa(0x1c5)]&&_0x4eaba7[_0x5d51fa(0x1eb)](nestedKeyValue,global[_0x5d51fa(0x21b)],[_0x4eaba7[_0x5d51fa(0x228)],_0x4eaba7['voymt'],_0x4eaba7[_0x5d51fa(0x1ff)]])&&_0x4eaba7[_0x5d51fa(0x208)](shouldScanTestForAccessibility,global[_0x5d51fa(0x21b)][_0x5d51fa(0x18a)][_0x5d51fa(0x17c)]['titlePath'],!![])&&scripts[_0x5d51fa(0x1dd)](arguments[0x1])){logger[_0x5d51fa(0x222)](_0x5d51fa(0x1e9)+arguments[0x1]),global[_0x5d51fa(0x1b7)]=!![];const _0x51177d=_0x4eaba7[_0x5d51fa(0x188)](nestedKeyValue,global,[_0x4eaba7['ojhlH'],_0x4eaba7[_0x5d51fa(0x1cc)]]),_0x46a688={};_0x46a688[_0x5d51fa(0x1cd)]=arguments[0x1],_0x51177d&&logger[_0x5d51fa(0x222)](util[_0x5d51fa(0x199)](await AccessibilityHelper[_0x5d51fa(0x1e6)](_0x51177d,_0x46a688)));if(_0x4eaba7[_0x5d51fa(0x207)](arguments[0x0][_0x5d51fa(0x1f8)],_0x4eaba7[_0x5d51fa(0x20b)])&&global[_0x5d51fa(0x1bb)]){const _0x4739bf={};_0x4739bf[_0x5d51fa(0x1cd)]=arguments[0x1],await _0x4eaba7[_0x5d51fa(0x1a2)](browserStackExecuteDriver,global[_0x5d51fa(0x1bb)],scripts[_0x5d51fa(0x1e6)],_0x4739bf);}}}catch(_0x3b5c59){logger[_0x5d51fa(0x222)]('Failed\x20to\x20perform\x20scan\x20'+util['format'](_0x3b5c59));}return global[_0x5d51fa(0x1b7)]=![],_0x57fc93[_0x5d51fa(0x209)](this,arguments);};}}),!_0x5b8fab[_0x265260(0x1fa)](isFalse,process[_0x265260(0x1cf)][_0x265260(0x1d2)])&&Object[_0x265260(0x19f)](_0xab6c23[_0x265260(0x187)],_0x5b8fab[_0x265260(0x229)],{'get':function(){return function _0x55e559(_0x3ce8b9){const _0x46cf23=a43_0x1e2e,_0xd3c70b=_0x3ce8b9&&_0x3ce8b9[_0x46cf23(0x20a)]&&_0x3ce8b9['params'][_0x46cf23(0x1c7)];if(_0xd3c70b){const _0x5444b6=_0xd3c70b[_0x46cf23(0x22e)],_0x26e6ba=_0xd3c70b[_0x46cf23(0x211)];_0x26e6ba&&(_0x5b8fab['KqJsx'](debug,_0x46cf23(0x1df)+_0x26e6ba[_0x46cf23(0x1bf)]()),_0x967be[_0x46cf23(0x196)]['platform']=_0x26e6ba[_0x46cf23(0x193)],_0x967be[_0x46cf23(0x196)][_0x46cf23(0x1d0)]=_0x26e6ba['platformVersion']),_0x5444b6&&(_0x5b8fab['KqJsx'](debug,_0x46cf23(0x227)+_0x5444b6),_0x967be[_0x46cf23(0x196)]['bsSessionId']=_0x5444b6);}return _0x39a08b[_0x46cf23(0x209)](this,arguments);};}});}}catch(_0x1bc6ef){_0x5b8fab[_0x265260(0x1ac)](debug,_0x265260(0x200)+_0x1bc6ef),_0x967be['sessionError']=_0x1bc6ef[_0x265260(0x1bf)]();}}static['patchCRConnection'](){const _0x1147a0=a43_0x8be63c,_0x5dcf88={'MyKRG':function(_0xd96c54,_0x5b93f3){return _0xd96c54(_0x5b93f3);},'uIaCU':function(_0xf69ff5){return _0xf69ff5();},'HKVpv':_0x1147a0(0x1b8),'qjCVm':'server','dAzGd':_0x1147a0(0x18e),'lLOui':'crConnection.js','kvcdo':_0x1147a0(0x1f0),'VHRZx':function(_0xc50c33,_0x2bc50c){return _0xc50c33(_0x2bc50c);},'cAgvU':_0x1147a0(0x1a7),'AjapL':function(_0x52290f,_0x39e91f){return _0x52290f!=_0x39e91f;},'aOwFc':'_onMessage','upYVh':function(_0x2d280b,_0xf05bdd){return _0x2d280b(_0xf05bdd);}},_0x3a28ce=this;if(_0x5dcf88['uIaCU'](isAccessibilityAutomationSession)){let _0x12430c=null;try{const _0x21f61a=path[_0x1147a0(0x1f1)](_0x5dcf88[_0x1147a0(0x1b0)],_0x5dcf88[_0x1147a0(0x217)],_0x5dcf88['dAzGd'],_0x5dcf88[_0x1147a0(0x17f)]),_0x341474=_0x5dcf88['MyKRG'](importFileFromPWCore,_0x21f61a);!_0x341474?_0x5dcf88['MyKRG'](debug,_0x5dcf88[_0x1147a0(0x214)]):_0x12430c=_0x341474[_0x1147a0(0x1ce)];}catch(_0x1ffc25){_0x5dcf88[_0x1147a0(0x1f6)](debug,_0x5dcf88[_0x1147a0(0x1e2)]);}try{if(_0x5dcf88[_0x1147a0(0x1ee)](_0x12430c,null)){const _0x33ef5=_0x12430c[_0x1147a0(0x187)]['_onMessage'];Object['defineProperty'](_0x12430c[_0x1147a0(0x187)],_0x5dcf88[_0x1147a0(0x212)],{'get':function(){const _0x592f3e={'YzfTj':function(_0x2c60be,_0xa4b54c){return _0x5dcf88['MyKRG'](_0x2c60be,_0xa4b54c);},'PKNyC':function(_0x4760ee,_0x4cb386){const _0x1ebcc3=a43_0x1e2e;return _0x5dcf88[_0x1ebcc3(0x1dc)](_0x4760ee,_0x4cb386);}};return function _0xbc1ceb(_0x1e6b81){const _0x3052f5=a43_0x1e2e;try{const _0x62024e=_0x1e6b81['bStackParams'];if(_0x62024e){delete _0x1e6b81[_0x3052f5(0x1fc)];const _0x141c9c=_0x62024e[_0x3052f5(0x22e)],_0x3b91ee=_0x62024e[_0x3052f5(0x211)];_0x3b91ee&&(_0x592f3e[_0x3052f5(0x1e3)](debug,_0x3052f5(0x20e)+_0x3b91ee['toString']()),_0x3a28ce[_0x3052f5(0x196)][_0x3052f5(0x1a4)]=_0x3b91ee['platformName'],_0x3a28ce[_0x3052f5(0x196)]['platform_version']=_0x3b91ee[_0x3052f5(0x1a1)]),_0x141c9c&&(_0x592f3e[_0x3052f5(0x1e3)](debug,_0x3052f5(0x1ab)+_0x141c9c),_0x3a28ce[_0x3052f5(0x196)][_0x3052f5(0x1f4)]=_0x141c9c);}}catch(_0x5a1ea7){_0x592f3e[_0x3052f5(0x203)](debug,_0x3052f5(0x22b)+_0x5a1ea7[_0x3052f5(0x1bf)]());}return _0x33ef5[_0x3052f5(0x209)](this,arguments);};}});}}catch(_0x4c5ab3){_0x5dcf88['upYVh'](debug,_0x1147a0(0x1ad)+_0x4c5ab3),_0x3a28ce['sessionError']=_0x4c5ab3[_0x1147a0(0x1bf)]();}}}static[a43_0x8be63c(0x1a9)](){const _0x25e36c=a43_0x8be63c;return this[_0x25e36c(0x196)];}}function a43_0x1e2e(_0x3e217a,_0x45666f){const _0x3a3f47=a43_0x3a3f();return a43_0x1e2e=function(_0x1e2eae,_0x5946ae){_0x1e2eae=_0x1e2eae-0x17c;let _0x148928=_0x3a3f47[_0x1e2eae];return _0x148928;},a43_0x1e2e(_0x3e217a,_0x45666f);}module[a43_0x8be63c(0x1bc)]=PlaywrightSessionDetails;function a43_0x3a3f(){const _0x3ba11b=['../../helpers/accessibility-automation/scripts','testInfo','sessionError','pwPage','lLOui','KettU','playwright-','channel','hHvKZ','product','browser_version','qPmvX','prototype','iMRrl','aWXIy','currentTest','unknown_grid','aIzYH','version','chromium','xtziR','Connection','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','YBYvG','platformName','ihYOs','entries','currentSessionDetails','client','QegAa','format','wsEndpoint','../../helpers/test-observability/utils','_defaultConnectOptions','turboscale','automate','defineProperty','path','platformVersion','XXFJY','NzWHr','platform','fVcQj','5493051rXXJzw','Error\x20in\x20importing\x20crConnection','sendMessageToServer','getDetails','fjIUt','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','Oocgy','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','386kbrREn','url','HKVpv','KTXHu','FljfK','5024648shBqbl','Page','sOySg','browserName','bstackPerformA11yScan','lib','HUPnH','eKRpx','__driver','exports','edge','ZPZKs','toString','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','kkBzS','uhMRZ','Nchgx','function','accessibilityPlatform','GAKHr','bsParams','3514vyVWCQ','../../helpers/accessibility-automation/helper','../../helpers/logger','liolU','hhJoc','method','CRConnection','env','platform_version','LWIbB','BROWSERSTACK_TEST_OBSERVABILITY','safari','connectOptions','local_grid','patchCRConnection','browser','McVZK','titlePath','patch','jiRpU','MyKRG','shouldWrapCommand','RECkE','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','eaiho','../../bin/playwright/accessibility-helper','cAgvU','YzfTj','GTnXt','_browserType','performScan','3745OlKVdx','../utils/constants','Performing\x20scan\x20for\x20','kXnyy','TCzbr','cXryL','GobmP','AjapL','vlpec','Not\x20able\x20to\x20import\x20crConnection','join','ATS_WSS_URL_REGEX','dispatch','bsSessionId','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','VHRZx','includes','_type','16763791hWtnbE','KqJsx','FJgpK','bStackParams','UcgjJ','patchConnection','zJgQF','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','903078UoOJJU','2238ecscQp','PKNyC','query','cloudProvider','project','BZWsK','EaVgW','apply','params','BYJFm','EHscX','swgjG','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','Device\x20Model\x20is\x20not\x20available','winstonLogger','platformDetails','aOwFc','./accessibility-helper','kvcdo','zdYFL','parse','qjCVm','../../helpers/helper','browserstack','browserstack-ats.com','__workerDetails','use','HHQiq','../../helpers/test-observability/error-handler','nunDY','wrQcg','util','debug','model','fromEntries','CsaGC','ikazd','Setting\x20session\x20id\x20received\x20from\x20BS\x20','bFNpm','zmWSA','Error\x20in\x20importing\x20connection\x20','Error\x20in\x20finding\x20platform\x20details\x20','218264RAkRIZ','YPvIY','sessionId','rUDEw','273lUHRgm','iLGjq','10odymZP','assign','YDBLF'];a43_0x3a3f=function(){return _0x3ba11b;};return a43_0x3a3f();}
|
|
1
|
+
const a43_0x55ca58=a43_0x6308;(function(_0x514863,_0x519d7e){const _0x2b085c=a43_0x6308,_0x24f3e0=_0x514863();while(!![]){try{const _0x363e64=parseInt(_0x2b085c(0x253))/0x1+-parseInt(_0x2b085c(0x255))/0x2*(-parseInt(_0x2b085c(0x1d3))/0x3)+parseInt(_0x2b085c(0x214))/0x4*(-parseInt(_0x2b085c(0x1fb))/0x5)+-parseInt(_0x2b085c(0x1e1))/0x6*(parseInt(_0x2b085c(0x1e3))/0x7)+parseInt(_0x2b085c(0x1e2))/0x8*(parseInt(_0x2b085c(0x1cd))/0x9)+parseInt(_0x2b085c(0x1fe))/0xa*(parseInt(_0x2b085c(0x1b2))/0xb)+parseInt(_0x2b085c(0x1d4))/0xc*(parseInt(_0x2b085c(0x21b))/0xd);if(_0x363e64===_0x519d7e)break;else _0x24f3e0['push'](_0x24f3e0['shift']());}catch(_0x56366a){_0x24f3e0['push'](_0x24f3e0['shift']());}}}(a43_0x41e7,0xc2efd));const path=require(a43_0x55ca58(0x24e)),url=require(a43_0x55ca58(0x250)),util=require(a43_0x55ca58(0x221)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a43_0x55ca58(0x1d5)),{o11yErrorHandler}=require(a43_0x55ca58(0x1f7)),{debug,getPlatformDetails}=require(a43_0x55ca58(0x23c)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x55ca58(0x22a)),logger=require('../../helpers/logger')[a43_0x55ca58(0x242)],scripts=require(a43_0x55ca58(0x238)),{browserStackExecuteDriver}=require(a43_0x55ca58(0x1b7)),AccessibilityHelper=require(a43_0x55ca58(0x20c)),constants=require(a43_0x55ca58(0x22e)),getBrowserNameFromChannel=_0x46b7c8=>{const _0x3523b2=a43_0x55ca58,_0x5ea7da={};_0x5ea7da[_0x3523b2(0x1d0)]=_0x3523b2(0x203),_0x5ea7da['jewnk']='edge',_0x5ea7da[_0x3523b2(0x1eb)]='firefox',_0x5ea7da[_0x3523b2(0x237)]=_0x3523b2(0x22c);const _0x1a967b=_0x5ea7da;if(_0x46b7c8['includes'](_0x1a967b['Juash']))return _0x1a967b[_0x3523b2(0x1d0)];if(_0x46b7c8[_0x3523b2(0x228)](_0x1a967b[_0x3523b2(0x206)]))return _0x1a967b[_0x3523b2(0x206)];if(_0x46b7c8[_0x3523b2(0x228)](_0x1a967b[_0x3523b2(0x1eb)]))return _0x1a967b[_0x3523b2(0x1eb)];if(_0x46b7c8[_0x3523b2(0x228)](_0x1a967b[_0x3523b2(0x237)]))return _0x1a967b[_0x3523b2(0x237)];},getBrowserFromWSEndpoint=_0x17fefd=>{const _0x5e3229=a43_0x55ca58,_0x401219={'NTzEk':_0x5e3229(0x203),'Yhvsi':function(_0x3e0e91,_0x106b83){return _0x3e0e91(_0x106b83);}};try{const _0x3a423c=url['parse'](_0x17fefd),_0x18734a=new URLSearchParams(_0x3a423c['query']),_0x411d5b=Object[_0x5e3229(0x20b)](_0x18734a['entries']()),_0x103eae=JSON[_0x5e3229(0x1f6)](_0x411d5b[_0x5e3229(0x235)]);if(_0x103eae&&(_0x103eae[_0x5e3229(0x22d)]||_0x103eae[_0x5e3229(0x23d)]))return _0x103eae[_0x5e3229(0x22d)]||_0x103eae[_0x5e3229(0x23d)];return _0x401219[_0x5e3229(0x224)];}catch(_0x33b523){_0x401219[_0x5e3229(0x24d)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x33b523['toString']());}},getCloudProviderFromWsEndpoint=_0x35a17d=>{const _0x58c076=a43_0x55ca58,_0x4b4eed={};_0x4b4eed[_0x58c076(0x1af)]=_0x58c076(0x1bb),_0x4b4eed['piEjq']=_0x58c076(0x20d),_0x4b4eed['oHCzy']=_0x58c076(0x246),_0x4b4eed[_0x58c076(0x21e)]='unknown_grid';const _0x1e9873=_0x4b4eed;if(_0x35a17d[_0x58c076(0x228)](_0x1e9873[_0x58c076(0x1af)])||_0x35a17d[_0x58c076(0x228)](_0x1e9873[_0x58c076(0x23a)]))return _0x1e9873[_0x58c076(0x1da)];return _0x1e9873[_0x58c076(0x21e)];},a43_0x3fa231={};a43_0x3fa231[a43_0x55ca58(0x231)]=undefined,a43_0x3fa231['bsSessionId']=undefined,a43_0x3fa231[a43_0x55ca58(0x22d)]=undefined,a43_0x3fa231['browser_version']=undefined,a43_0x3fa231[a43_0x55ca58(0x1ae)]=undefined,a43_0x3fa231['platform_version']=undefined,a43_0x3fa231['product']=undefined,a43_0x3fa231[a43_0x55ca58(0x1f1)]={};function a43_0x41e7(){const _0x47f69c=['sendMessageToServer','iORyD','YKcWM','platformVersion','20TAljTr','Error\x20in\x20importing\x20connection\x20','pAkfZ','nWJwI','CRConnection','wmbvY','version','26MOtTOo','LLBKN','sessionId','RsKVw','Not\x20able\x20to\x20import\x20crConnection','qLxEr','util','crConnection.js','local_grid','NTzEk','apply','ATS_WSS_URL_REGEX','join','includes','Performing\x20scan\x20for\x20','../../helpers/accessibility-automation/helper','patchConnection','safari','browser','../utils/constants','accessibilityPlatform','PUKpu','cloudProvider','automate','debug','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','caps','fyMCx','zGkHI','../../helpers/accessibility-automation/scripts','RHvLo','piEjq','jyvlk','../../helpers/test-observability/utils','browserName','OjiBZ','cfSaE','AsNcW','BROWSERSTACK_TEST_OBSERVABILITY','winstonLogger','Connection','product','patchCRConnection','browserstack','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','wEjht','project','MnPHT','Iiudy','bsSessionId','Yhvsi','path','tOReS','url','wsEndpoint','titlePath','1420416kXIJTK','testInfo','916148RdoKYY','Page','__workerDetails','BVulv','BtJfr','fDLWF','tSIkT','prototype','shouldWrapCommand','toString','channel','browser_version','dYLjL','platform','oMITR','platform_version','dispatch','1727dLAAdi','turboscale','DRDwI','__driver','isRemote','../../bin/playwright/accessibility-helper','Fnnsw','currentSessionDetails','IHgGj','browserstack.com','EvbTl','defineProperty','zDRVn','Failed\x20to\x20perform\x20scan\x20','performScan','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','wmczL','IICTm','oSHIa','rIEOG','_type','toLowerCase','GDnkQ','CqdFM','DSlMH','cBDQl','params','81Lamucv','Setting\x20session\x20id\x20received\x20from\x20BS\x20','CqYXJ','Juash','platformDetails','QhyyJ','3SyZdxG','714132ZykHqO','../../helpers/helper','_name','bsParams','sessionError','UEkPo','oHCzy','WEYdj','Device\x20Model\x20is\x20not\x20available','cEACQ','zNpLZ','MemxC','connectOptions','36438SBcqZc','65656yciGLc','1337TWqnVv','Error\x20in\x20finding\x20platform\x20details\x20','bStackParams','lib','Kbdms','bypKJ','csMLa','JSGlp','AAaqO','_browserType','use','playwright-','getDetails','patch','capabilities','currentTest','setupBrowserDetails','JFIOG','_defaultConnectOptions','parse','../../helpers/test-observability/error-handler','function','test','model','1444645sHHgXr','bstackPerformA11yScan','fbwdp','84820ioFlRp','lAECS','FIBAw','exports','JzBBn','chrome','_connection','cUKrD','jewnk','ZzCjT','qQiAd','method','platformName','fromEntries','./accessibility-helper','browserstack-ats.com','xVLdL','chromium'];a43_0x41e7=function(){return _0x47f69c;};return a43_0x41e7();}class PlaywrightSessionDetails{static [a43_0x55ca58(0x1b9)]=a43_0x3fa231;constructor(){const _0x23c9fe=a43_0x55ca58,_0x881652={};_0x881652[_0x23c9fe(0x240)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x30557a=_0x881652;throw new Error(_0x30557a[_0x23c9fe(0x240)]);}static [a43_0x55ca58(0x1d8)]=null;static[a43_0x55ca58(0x1f3)](_0x5c27c4,_0x32a71f,_0x44ec4a=null){const _0xefc565=a43_0x55ca58,_0x440752={'ylrcj':function(_0x969896,_0x1bb61){return _0x969896===_0x1bb61;},'zDRVn':_0xefc565(0x1f8),'YKcWM':'Browser\x20is\x20not\x20defined\x20or\x20not\x20available','Kbdms':function(_0x10def7,_0x33e7b5){return _0x10def7===_0x33e7b5;},'kgeOw':_0xefc565(0x1dc),'fbwdp':_0xefc565(0x223),'dYLjL':function(_0xa77fe0,_0x5359a5,_0x1f7b01){return _0xa77fe0(_0x5359a5,_0x1f7b01);},'TIxnZ':_0xefc565(0x1ec),'nWJwI':_0xefc565(0x1f5),'ZzCjT':function(_0x10a4de,_0x35e39f,_0x37f545){return _0x10a4de(_0x35e39f,_0x37f545);},'Fnnsw':_0xefc565(0x249),'jyvlk':'use','cfSaE':_0xefc565(0x1e0),'GDnkQ':function(_0x321416,_0x30d10a){return _0x321416(_0x30d10a);},'UEkPo':_0xefc565(0x246),'xVLdL':_0xefc565(0x1b3),'hcRAd':_0xefc565(0x232),'zNpLZ':function(_0x47d414,_0x18198e){return _0x47d414(_0x18198e);},'BtJfr':function(_0x2c95e0,_0x5a8f7d){return _0x2c95e0+_0x5a8f7d;},'HWOou':_0xefc565(0x1ee),'csMLa':function(_0x56ac7c){return _0x56ac7c();},'cBDQl':function(_0x57e616,_0x1cf2fe,_0x5e3551){return _0x57e616(_0x1cf2fe,_0x5e3551);},'FIBAw':_0xefc565(0x1f3)},_0x3b358f=this;return _0x440752[_0xefc565(0x1cb)](o11yErrorHandler,async function _0x641cbb(_0x862deb,_0x423309,_0x333b57=null){const _0x30710a=_0xefc565;let _0xa0cb02=_0x862deb[_0x30710a(0x1d6)],_0x3b1c1d=null;_0x862deb&&_0x440752['ylrcj'](typeof _0x862deb[_0x30710a(0x21a)],_0x440752[_0x30710a(0x1be)])?_0x3b1c1d=_0x862deb[_0x30710a(0x21a)]():logger['debug'](_0x440752[_0x30710a(0x212)]);let _0x33c5ed=null;_0x862deb&&_0x440752[_0x30710a(0x1e7)](typeof _0x862deb[_0x30710a(0x1fa)],_0x440752[_0x30710a(0x1be)])?_0x33c5ed=_0x862deb[_0x30710a(0x1fa)]():logger[_0x30710a(0x233)](_0x440752['kgeOw']);let _0x59d596=null,_0x2743d5=null,_0x2d08f1=null,_0x374dad=_0x440752[_0x30710a(0x1fd)];if(_0x862deb[_0x30710a(0x204)][_0x30710a(0x1b6)]()||global[_0x30710a(0x22f)]){let _0x4844e7=null;_0x440752[_0x30710a(0x1ad)](nestedKeyValue,_0x862deb,[_0x440752['TIxnZ'],_0x440752[_0x30710a(0x217)]])?_0x4844e7=_0x862deb[_0x30710a(0x1ec)]['_defaultConnectOptions']:_0x4844e7=_0x440752[_0x30710a(0x207)](nestedKeyValue,_0x423309,[_0x440752[_0x30710a(0x1b8)],_0x440752[_0x30710a(0x23b)],_0x440752[_0x30710a(0x23f)]]);const _0x32122e=_0x333b57||_0x4844e7&&_0x4844e7[_0x30710a(0x251)];_0x32122e&&(_0x374dad=_0x440752[_0x30710a(0x1c8)](getCloudProviderFromWsEndpoint,_0x32122e),_0x440752[_0x30710a(0x1e7)](_0x374dad,_0x440752[_0x30710a(0x1d9)])&&(_0x2d08f1=constants[_0x30710a(0x226)][_0x30710a(0x1f9)](_0x32122e)?_0x440752[_0x30710a(0x20e)]:_0x440752['hcRAd'],_0xa0cb02=_0x440752[_0x30710a(0x1c8)](getBrowserFromWSEndpoint,_0x32122e)||_0xa0cb02,_0x59d596=_0x3b358f[_0x30710a(0x1b9)][_0x30710a(0x1ae)],_0x2743d5=_0x3b358f['currentSessionDetails'][_0x30710a(0x1b0)]));}else{_0x423309&&_0x423309[_0x30710a(0x249)][_0x30710a(0x1ed)][_0x30710a(0x1ab)]?_0xa0cb02=_0x440752[_0x30710a(0x1de)](getBrowserNameFromChannel,_0x423309[_0x30710a(0x249)][_0x30710a(0x1ed)][_0x30710a(0x1ab)]):_0xa0cb02=_0x440752[_0x30710a(0x259)](_0x440752['HWOou'],_0xa0cb02[_0x30710a(0x1c7)]());const _0x2eaf5=await _0x440752[_0x30710a(0x1e9)](getPlatformDetails);_0x59d596=_0x2eaf5['platformName'],_0x2743d5=_0x2eaf5[_0x30710a(0x213)];}const _0x23b313={};_0x23b313[_0x30710a(0x22d)]=_0xa0cb02,_0x23b313[_0x30710a(0x1ac)]=_0x3b1c1d,_0x23b313[_0x30710a(0x1f1)]={},_0x23b313[_0x30710a(0x1ae)]=_0x59d596,_0x23b313[_0x30710a(0x1b0)]=_0x2743d5,_0x23b313[_0x30710a(0x244)]=_0x2d08f1;const _0x5eb434=_0x23b313;_0x33c5ed&&(_0x5eb434['capabilities']['deviceModel']=_0x33c5ed);const _0x389bf3={};_0x389bf3[_0x30710a(0x231)]=_0x374dad,_0x3b358f[_0x30710a(0x1b9)]=Object['assign']({},_0x3b358f[_0x30710a(0x1b9)],_0x389bf3,_0x5eb434);},_0x440752[_0xefc565(0x200)])(_0x5c27c4,_0x32a71f,_0x44ec4a);}static[a43_0x55ca58(0x1f0)](){const _0x501c8c=a43_0x55ca58;this[_0x501c8c(0x22b)](),this[_0x501c8c(0x245)]();}static[a43_0x55ca58(0x22b)](){const _0x4584f7=a43_0x55ca58,_0x297ffb={'LLBKN':function(_0x3c0487,_0x19621c,_0x232171){return _0x3c0487(_0x19621c,_0x232171);},'tOReS':_0x4584f7(0x1f2),'fyMCx':_0x4584f7(0x254),'Iiudy':_0x4584f7(0x252),'wEjht':_0x4584f7(0x257),'pAkfZ':'pwPage','DSlMH':function(_0x341310,_0x46bd1a){return _0x341310===_0x46bd1a;},'YKTPO':_0x4584f7(0x256),'rIEOG':function(_0x4aa704,_0x81a8e1,_0x7c5b63,_0xe1bc88){return _0x4aa704(_0x81a8e1,_0x7c5b63,_0xe1bc88);},'fDLWF':function(_0xac1c72,_0x1ee2df){return _0xac1c72(_0x1ee2df);},'JFIOG':_0x4584f7(0x1e6),'IHgGj':'client','OjiBZ':'connection.js','MemxC':'Not\x20able\x20to\x20import\x20Connection','MnPHT':function(_0x4278f0,_0x2e03c6){return _0x4278f0!=_0x2e03c6;},'cEACQ':function(_0x17a2bf){return _0x17a2bf();},'wmczL':_0x4584f7(0x210),'ejTzK':function(_0x4d8846,_0x112279){return _0x4d8846(_0x112279);},'UNDQB':_0x4584f7(0x1b1),'bypKJ':function(_0x7404de,_0x30b57d){return _0x7404de(_0x30b57d);}},_0x529c1a=this;if(!this[_0x4584f7(0x243)])try{const _0x42214f=path[_0x4584f7(0x227)](_0x297ffb[_0x4584f7(0x1f4)],_0x297ffb[_0x4584f7(0x1ba)],_0x297ffb[_0x4584f7(0x23e)]),_0x1fe118=_0x297ffb[_0x4584f7(0x25a)](importFileFromPWCore,_0x42214f);!_0x1fe118?_0x297ffb[_0x4584f7(0x25a)](debug,_0x297ffb[_0x4584f7(0x1df)]):this['Connection']=_0x1fe118['Connection'];}catch(_0xcd1c36){_0x297ffb[_0x4584f7(0x25a)](debug,_0x4584f7(0x215)+_0xcd1c36[_0x4584f7(0x1aa)]());}const _0x3a4724=this[_0x4584f7(0x243)];try{if(_0x297ffb[_0x4584f7(0x24a)](_0x3a4724,null)){const _0x39a635=_0x3a4724[_0x4584f7(0x25c)][_0x4584f7(0x1b1)],_0x41ad53=_0x3a4724[_0x4584f7(0x25c)][_0x4584f7(0x210)];_0x297ffb[_0x4584f7(0x1dd)](isAccessibilityAutomationSession)&&Object[_0x4584f7(0x1bd)](_0x3a4724[_0x4584f7(0x25c)],_0x297ffb[_0x4584f7(0x1c2)],{'get':function(){const _0x5b10f7=_0x4584f7,_0x1d6199={'PUKpu':function(_0x438255,_0x284274,_0x34e4c0){const _0xd2d7d0=a43_0x6308;return _0x297ffb[_0xd2d7d0(0x21c)](_0x438255,_0x284274,_0x34e4c0);},'WEYdj':_0x297ffb[_0x5b10f7(0x24f)],'DRDwI':_0x297ffb[_0x5b10f7(0x236)],'RHvLo':_0x297ffb[_0x5b10f7(0x24b)],'qLxEr':function(_0x5e0044,_0x79b3f6,_0x295d61){const _0x2ac8ed=_0x5b10f7;return _0x297ffb[_0x2ac8ed(0x21c)](_0x5e0044,_0x79b3f6,_0x295d61);},'tSIkT':_0x297ffb[_0x5b10f7(0x248)],'aoLAO':_0x297ffb[_0x5b10f7(0x216)],'PAdbm':function(_0x5ecd99,_0x6a17fb){const _0xa732f5=_0x5b10f7;return _0x297ffb[_0xa732f5(0x1ca)](_0x5ecd99,_0x6a17fb);},'JSGlp':_0x297ffb['YKTPO'],'wmbvY':function(_0x2e18bf,_0x57a552,_0x2cc5b3,_0x433040){const _0x119f22=_0x5b10f7;return _0x297ffb[_0x119f22(0x1c5)](_0x2e18bf,_0x57a552,_0x2cc5b3,_0x433040);}};return async function(){const _0x589007=_0x5b10f7;try{if(!global[_0x589007(0x1fc)]&&global['accessibilityPlatform']&&_0x1d6199[_0x589007(0x230)](nestedKeyValue,global[_0x589007(0x257)],[_0x1d6199[_0x589007(0x1db)],_0x1d6199[_0x589007(0x1b4)],_0x1d6199[_0x589007(0x239)]])&&_0x1d6199[_0x589007(0x220)](shouldScanTestForAccessibility,global[_0x589007(0x257)][_0x589007(0x1f2)][_0x589007(0x254)]['titlePath'],!![])&&scripts[_0x589007(0x25d)](arguments[0x1])){logger['debug'](_0x589007(0x229)+arguments[0x1]),global[_0x589007(0x1fc)]=!![];const _0x11c17d=_0x1d6199[_0x589007(0x230)](nestedKeyValue,global,[_0x1d6199[_0x589007(0x25b)],_0x1d6199['aoLAO']]),_0x420e37={};_0x420e37[_0x589007(0x209)]=arguments[0x1],_0x11c17d&&logger['debug'](util['format'](await AccessibilityHelper[_0x589007(0x1c0)](_0x11c17d,_0x420e37)));if(_0x1d6199['PAdbm'](arguments[0x0][_0x589007(0x1c6)],_0x1d6199[_0x589007(0x1ea)])&&global[_0x589007(0x1b5)]){const _0x41f2ba={};_0x41f2ba[_0x589007(0x209)]=arguments[0x1],await _0x1d6199[_0x589007(0x219)](browserStackExecuteDriver,global[_0x589007(0x1b5)],scripts['performScan'],_0x41f2ba);}}}catch(_0x3ede08){logger['debug'](_0x589007(0x1bf)+util['format'](_0x3ede08));}return global[_0x589007(0x1fc)]=![],_0x41ad53[_0x589007(0x225)](this,arguments);};}}),!_0x297ffb['ejTzK'](isFalse,process['env'][_0x4584f7(0x241)])&&Object['defineProperty'](_0x3a4724[_0x4584f7(0x25c)],_0x297ffb['UNDQB'],{'get':function(){const _0x21b27d={'IICTm':function(_0x547da4,_0x3839e8){const _0x1e3681=a43_0x6308;return _0x297ffb[_0x1e3681(0x25a)](_0x547da4,_0x3839e8);}};return function _0x2e7b80(_0x395de9){const _0x33f905=a43_0x6308,_0xa99cee=_0x395de9&&_0x395de9[_0x33f905(0x1cc)]&&_0x395de9[_0x33f905(0x1cc)][_0x33f905(0x1d7)];if(_0xa99cee){const _0x3dae42=_0xa99cee[_0x33f905(0x21d)],_0x3d8c30=_0xa99cee[_0x33f905(0x1d1)];_0x3d8c30&&(_0x21b27d[_0x33f905(0x1c3)](debug,_0x33f905(0x1c1)+_0x3d8c30[_0x33f905(0x1aa)]()),_0x529c1a[_0x33f905(0x1b9)]['platform']=_0x3d8c30[_0x33f905(0x20a)],_0x529c1a[_0x33f905(0x1b9)]['platform_version']=_0x3d8c30[_0x33f905(0x213)]),_0x3dae42&&(_0x21b27d[_0x33f905(0x1c3)](debug,_0x33f905(0x1ce)+_0x3dae42),_0x529c1a[_0x33f905(0x1b9)][_0x33f905(0x24c)]=_0x3dae42);}return _0x39a635[_0x33f905(0x225)](this,arguments);};}});}}catch(_0x4ccb36){_0x297ffb[_0x4584f7(0x1e8)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x4ccb36),_0x529c1a[_0x4584f7(0x1d8)]=_0x4ccb36[_0x4584f7(0x1aa)]();}}static[a43_0x55ca58(0x245)](){const _0x2418df=a43_0x55ca58,_0x258f0d={'CqYXJ':function(_0x2c9849,_0x59a39e){return _0x2c9849(_0x59a39e);},'iORyD':function(_0x2fa9e9,_0x3de297){return _0x2fa9e9(_0x3de297);},'cUKrD':function(_0x1ee2f1){return _0x1ee2f1();},'KlqIK':_0x2418df(0x1e6),'lAECS':'server','qQiAd':_0x2418df(0x20f),'CqdFM':_0x2418df(0x222),'BVulv':function(_0x1cd0fa,_0x216881){return _0x1cd0fa(_0x216881);},'oSHIa':_0x2418df(0x21f),'NFshd':function(_0x4f8a5b,_0x3ce5f6){return _0x4f8a5b(_0x3ce5f6);},'QhyyJ':'Error\x20in\x20importing\x20crConnection','EvbTl':function(_0x38d9db,_0x18f813){return _0x38d9db!=_0x18f813;},'XRnnO':'_onMessage','JzBBn':function(_0x21a760,_0x14e8f0){return _0x21a760(_0x14e8f0);}},_0x2ec0a5=this;if(_0x258f0d[_0x2418df(0x205)](isAccessibilityAutomationSession)){let _0x108fd2=null;try{const _0x581565=path[_0x2418df(0x227)](_0x258f0d['KlqIK'],_0x258f0d[_0x2418df(0x1ff)],_0x258f0d[_0x2418df(0x208)],_0x258f0d[_0x2418df(0x1c9)]),_0x2ad821=_0x258f0d[_0x2418df(0x258)](importFileFromPWCore,_0x581565);!_0x2ad821?_0x258f0d['CqYXJ'](debug,_0x258f0d[_0x2418df(0x1c4)]):_0x108fd2=_0x2ad821[_0x2418df(0x218)];}catch(_0x7a3333){_0x258f0d['NFshd'](debug,_0x258f0d[_0x2418df(0x1d2)]);}try{if(_0x258f0d[_0x2418df(0x1bc)](_0x108fd2,null)){const _0x274f8b=_0x108fd2['prototype']['_onMessage'];Object['defineProperty'](_0x108fd2[_0x2418df(0x25c)],_0x258f0d['XRnnO'],{'get':function(){return function _0x36eb08(_0xc1908){const _0x427eea=a43_0x6308;try{const _0x1d3417=_0xc1908['bStackParams'];if(_0x1d3417){delete _0xc1908[_0x427eea(0x1e5)];const _0x3bab2a=_0x1d3417[_0x427eea(0x21d)],_0x23d52f=_0x1d3417['platformDetails'];_0x23d52f&&(_0x258f0d['CqYXJ'](debug,_0x427eea(0x247)+_0x23d52f[_0x427eea(0x1aa)]()),_0x2ec0a5[_0x427eea(0x1b9)][_0x427eea(0x1ae)]=_0x23d52f[_0x427eea(0x20a)],_0x2ec0a5['currentSessionDetails']['platform_version']=_0x23d52f[_0x427eea(0x213)]),_0x3bab2a&&(_0x258f0d[_0x427eea(0x1cf)](debug,_0x427eea(0x234)+_0x3bab2a),_0x2ec0a5['currentSessionDetails'][_0x427eea(0x24c)]=_0x3bab2a);}}catch(_0x170284){_0x258f0d[_0x427eea(0x211)](debug,_0x427eea(0x1e4)+_0x170284['toString']());}return _0x274f8b['apply'](this,arguments);};}});}}catch(_0x29f768){_0x258f0d[_0x2418df(0x202)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x29f768),_0x2ec0a5[_0x2418df(0x1d8)]=_0x29f768[_0x2418df(0x1aa)]();}}}static[a43_0x55ca58(0x1ef)](){return this['currentSessionDetails'];}}function a43_0x6308(_0x3a5352,_0x3e3688){const _0x41e7ba=a43_0x41e7();return a43_0x6308=function(_0x630805,_0x57b1ff){_0x630805=_0x630805-0x1aa;let _0x2b16db=_0x41e7ba[_0x630805];return _0x2b16db;},a43_0x6308(_0x3a5352,_0x3e3688);}module[a43_0x55ca58(0x201)]=PlaywrightSessionDetails;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a44_0x5ec4d1=a44_0x5ec4;(function(_0x517180,_0x4ec06d){const _0x52a106=a44_0x5ec4,_0x114eef=_0x517180();while(!![]){try{const _0x176ce2=-parseInt(_0x52a106(0x13e))/0x1+-parseInt(_0x52a106(0x107))/0x2+-parseInt(_0x52a106(0x104))/0x3*(parseInt(_0x52a106(0x117))/0x4)+-parseInt(_0x52a106(0x134))/0x5+-parseInt(_0x52a106(0xef))/0x6+-parseInt(_0x52a106(0x110))/0x7*(-parseInt(_0x52a106(0xee))/0x8)+parseInt(_0x52a106(0xeb))/0x9;if(_0x176ce2===_0x4ec06d)break;else _0x114eef['push'](_0x114eef['shift']());}catch(_0x5c35fd){_0x114eef['push'](_0x114eef['shift']());}}}(a44_0x15dd,0x7981b));function a44_0x5ec4(_0x5eacf7,_0x417aff){const _0x15dd96=a44_0x15dd();return a44_0x5ec4=function(_0x5ec419,_0x1bdc19){_0x5ec419=_0x5ec419-0xd0;let _0x39f325=_0x15dd96[_0x5ec419];return _0x39f325;},a44_0x5ec4(_0x5eacf7,_0x417aff);}const fs=require('fs'),path=require(a44_0x5ec4d1(0x13a)),util=require(a44_0x5ec4d1(0x10d)),{requireModule}=require(a44_0x5ec4d1(0x120)),PerformanceTester=require(a44_0x5ec4d1(0xdc)),PerformanceEvents=require(a44_0x5ec4d1(0x133))[a44_0x5ec4d1(0x124)],helper=require(a44_0x5ec4d1(0x120)),utilities=require('../helpers/utilities'),runIntegrations=require(a44_0x5ec4d1(0xe8)),yargs=require(a44_0x5ec4d1(0x10c)),Constants=require(a44_0x5ec4d1(0x135)),logger=require(a44_0x5ec4d1(0xe6))['winstonLogger'],origArgs=Object[a44_0x5ec4d1(0x126)]([],process[a44_0x5ec4d1(0x138)]),captureError=async(_0x56cb3d,_0x2a1d9,_0x4852a0=null)=>{const _0x13fd3e=a44_0x5ec4d1,_0x5834cb={'gtcsn':function(_0xc811e7,_0x44d041,_0x542847){return _0xc811e7(_0x44d041,_0x542847);},'hydoQ':_0x13fd3e(0x130)};try{logger['info'](_0x13fd3e(0x106)+origArgs['join']('\x20')),await _0x5834cb[_0x13fd3e(0x10a)](_0x56cb3d,_0x2a1d9,_0x4852a0);}catch(_0xd755a8){process['exitCode']=0x1,logger[_0x13fd3e(0x13d)](util[_0x13fd3e(0xff)](_0xd755a8));const _0x4947b4={};_0x4947b4['globalException']=_0xd755a8[_0x13fd3e(0x111)];const _0x47cdb0=_0x4947b4;PerformanceTester[_0x13fd3e(0x146)](PerformanceEvents[_0x13fd3e(0x116)],![],util[_0x13fd3e(0xff)](_0xd755a8));if(helper[_0x13fd3e(0x103)](global[_0x13fd3e(0xed)])&&helper[_0x13fd3e(0x103)](global[_0x13fd3e(0xe1)]))return;try{utilities[_0x13fd3e(0x144)](_0x5834cb['hydoQ'],_0x47cdb0,global[_0x13fd3e(0xed)],global[_0x13fd3e(0xe1)]);}catch(_0x171c32){logger['debug'](_0x13fd3e(0x132)+_0x171c32[_0x13fd3e(0xde)]);}PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util['format'](_0xd755a8));}finally{PerformanceTester[_0x13fd3e(0xd0)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a44_0x5ec4d1(0xfb)](helper[a44_0x5ec4d1(0xe0)](),a44_0x5ec4d1(0xdb));if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a44_0x5ec4d1(0xfb)](browserstackFolderPath,a44_0x5ec4d1(0x11c));fs[a44_0x5ec4d1(0x12a)](filePath)&&fs[a44_0x5ec4d1(0x12d)](filePath);}}catch(a44_0x51809b){logger['debug'](a44_0x5ec4d1(0x129)+a44_0x51809b[a44_0x5ec4d1(0x111)]);}process[a44_0x5ec4d1(0x138)][a44_0x5ec4d1(0x136)](a44_0x5ec4d1(0x13b))&&(!process['argv'][a44_0x5ec4d1(0x136)](a44_0x5ec4d1(0x114))&&process[a44_0x5ec4d1(0x138)][a44_0x5ec4d1(0xda)](a44_0x5ec4d1(0xd7)),!process[a44_0x5ec4d1(0x138)][a44_0x5ec4d1(0xd3)](_0x1c2e90=>_0x1c2e90[a44_0x5ec4d1(0x136)](a44_0x5ec4d1(0xd9)))&&process[a44_0x5ec4d1(0x138)][a44_0x5ec4d1(0xda)](a44_0x5ec4d1(0x10e)),!process[a44_0x5ec4d1(0x138)]['includes'](a44_0x5ec4d1(0xe2))&&process['argv']['push'](a44_0x5ec4d1(0xf7)),helper[a44_0x5ec4d1(0x118)](process[a44_0x5ec4d1(0x138)],a44_0x5ec4d1(0x142),'--mochaRequire'));function a44_0x15dd(){const _0x3ded2c=['SDKTestSuccessful','JEST','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','../helpers/performance/constants','1694255VzeGTd','./utils/constants','includes','IHFWp','argv','./vanilla-js/command','path','mocha','kbFRf','error','424511dwmyVf','KDslI','parserConfiguration','describe','--require','slice','fireFunnelTestEvent','irziA','end','start','dMWOm','rPGGj','find','ZbrOT','mocha/lib/cli/cli.js','CUCUMBER','--no-opts','./nightwatch/command','--config','push','.browserstack','../helpers/performance/performance-tester','demandCommand','stack','debug','homedir','framework','--package','MOCHA','jest','oGqcc','../helpers/logger','./codeceptjs/command','./integrations/command','INFO','./mocha/command','13085307xtahZG','usage','config','392xFcuXO','4356972SOhkzt','alias','emump','codeceptjs','version','HST','help','sQcHh','--no-package','integrations','ylPJN','mOFXz','join','kJKrp','PLAYWRIGHT','command','format','mocha/lib/cli/run.js','MjRSf','setTestObservabilityDisable','isUndefined','27330JsRCcE','QZrGX','Running\x20SDK\x20with\x20args\x20','171898XJJMYY','INTEGRATIONS','wrap','gtcsn','ZYkME','yargs','util','--no-config','bDBJF','97573yhLCgM','message','handler','cucumber-js','--opts','playwright','SDK_SETUP','28alFnat','findAndReplace','oXOcg','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','BilHf','.local-not-set.json','node','showHelpOnFail','usage:\x20$0\x20<command>\x20[args]','../helpers/helper','./cucumber-js/command','kGeVc','startMonitoring','EVENTS','kbktb','assign','./playwright/command','NNRsW','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','existsSync','ats','dot-notation','unlinkSync','cPNpu','JilZy'];a44_0x15dd=function(){return _0x3ded2c;};return a44_0x15dd();}PerformanceTester[a44_0x5ec4d1(0x123)](),PerformanceTester[a44_0x5ec4d1(0xd0)](PerformanceEvents['SDK_SETUP']);const a44_0x4eae19={};a44_0x4eae19[a44_0x5ec4d1(0x12c)]=![];const argv=yargs[a44_0x5ec4d1(0x140)](a44_0x4eae19)[a44_0x5ec4d1(0xec)](a44_0x5ec4d1(0x11f))['alias']('v',a44_0x5ec4d1(0xf3))[a44_0x5ec4d1(0x141)]('v')[a44_0x5ec4d1(0xf0)]('h',a44_0x5ec4d1(0xf5))[a44_0x5ec4d1(0xf5)]('help')[a44_0x5ec4d1(0x11e)](!![],Constants['VERSION']['HELP'])['command'](a44_0x5ec4d1(0xe4),Constants[a44_0x5ec4d1(0x131)][a44_0x5ec4d1(0xe9)],function(_0x49ff20){const _0x14baec=a44_0x5ec4d1,_0x3d25b0={'BilHf':function(_0x54d4a9,_0x478a5b,_0x3ebeca,_0x3d2b1e){return _0x54d4a9(_0x478a5b,_0x3ebeca,_0x3d2b1e);},'kbFRf':function(_0x288716,_0x29e658){return _0x288716(_0x29e658);},'MjRSf':'./jest/command'};helper[_0x14baec(0x102)](),helper['setBrowserStackAutomationDisable']();const _0x131e0e=process['argv'][_0x14baec(0x143)](0x2);return _0x3d25b0[_0x14baec(0x11b)](captureError,_0x3d25b0[_0x14baec(0x13c)](require,_0x3d25b0[_0x14baec(0x101)]),_0x49ff20[_0x14baec(0x138)],_0x131e0e);})['command'](a44_0x5ec4d1(0x13b),Constants[a44_0x5ec4d1(0xe3)]['INFO'],_0x99fe21=>{const _0x1ae840=a44_0x5ec4d1,_0x4e6c78={'wknWT':function(_0x1b1314,_0x5baf8c,_0x363b04){return _0x1b1314(_0x5baf8c,_0x363b04);},'emump':function(_0x1deb2b,_0x21b345){return _0x1deb2b(_0x21b345);},'JilZy':_0x1ae840(0xea),'OTbww':'Parsing\x20command\x20line\x20arguements','cYmox':function(_0x3ed2b1,_0xcd0abf,_0xfca34a){return _0x3ed2b1(_0xcd0abf,_0xfca34a);},'AwAVa':_0x1ae840(0x100),'oXOcg':_0x1ae840(0x13b),'KDslI':function(_0x571bb0,_0x23ff58,_0x17d521){return _0x571bb0(_0x23ff58,_0x17d521);},'XFGHS':'mocha/lib/cli/commands.js','bDBJF':function(_0x4e3eeb,_0x133dcc,_0x5afcd6){return _0x4e3eeb(_0x133dcc,_0x5afcd6);},'gsLWk':_0x1ae840(0xd5),'mOFXz':function(_0xd34e){return _0xd34e();}};logger[_0x1ae840(0xdf)](_0x4e6c78['OTbww']);const _0x4ab7d3=_0x4e6c78['cYmox'](requireModule,_0x4e6c78['AwAVa'],_0x4e6c78[_0x1ae840(0x119)]),_0x1699c9=_0x4e6c78[_0x1ae840(0x13f)](requireModule,_0x4e6c78['XFGHS'],_0x4e6c78[_0x1ae840(0x119)]);process[_0x1ae840(0x138)]=process[_0x1ae840(0x138)][_0x1ae840(0x143)](0x1),delete _0x4ab7d3['handler'],_0x4ab7d3[_0x1ae840(0x112)]=function(_0x3dadf9){const _0x2b6582=_0x1ae840;return _0x4e6c78['wknWT'](captureError,_0x4e6c78[_0x2b6582(0xf1)](require,_0x4e6c78[_0x2b6582(0x12f)]),_0x3dadf9);},_0x1699c9['run']=_0x4ab7d3;const {main:_0x2ce9cc}=_0x4e6c78[_0x1ae840(0x10f)](requireModule,_0x4e6c78['gsLWk'],_0x4e6c78[_0x1ae840(0x119)]);_0x4e6c78[_0x1ae840(0xfa)](_0x2ce9cc);})[a44_0x5ec4d1(0xfe)](a44_0x5ec4d1(0x113),Constants[a44_0x5ec4d1(0xd6)]['INFO'],function(_0x569857){const _0x4dfdbe=a44_0x5ec4d1,_0x54ad2c={'ZYkME':function(_0x18dbf1,_0x1bf251,_0x296021,_0x432299){return _0x18dbf1(_0x1bf251,_0x296021,_0x432299);},'GUEyr':function(_0x4f16e4,_0x3d0718){return _0x4f16e4(_0x3d0718);},'NNRsW':_0x4dfdbe(0x121)},_0x413eb3=process[_0x4dfdbe(0x138)][_0x4dfdbe(0x143)](0x2);return _0x54ad2c[_0x4dfdbe(0x10b)](captureError,_0x54ad2c['GUEyr'](require,_0x54ad2c[_0x4dfdbe(0x128)]),_0x569857[_0x4dfdbe(0x138)],_0x413eb3);})['command'](a44_0x5ec4d1(0x11d),Constants['VANILLA'][a44_0x5ec4d1(0xe9)],function(_0x5352ed){const _0x1f56a8=a44_0x5ec4d1,_0x50896d={'oGqcc':function(_0x221d40,_0x4ff4d3,_0x5b3301,_0x416d98){return _0x221d40(_0x4ff4d3,_0x5b3301,_0x416d98);},'kbktb':function(_0x1cd914,_0x3b504d){return _0x1cd914(_0x3b504d);},'QZrGX':_0x1f56a8(0x139)},_0xf29266=process[_0x1f56a8(0x138)][_0x1f56a8(0x143)](0x2);return _0x50896d[_0x1f56a8(0xe5)](captureError,_0x50896d[_0x1f56a8(0x125)](require,_0x50896d[_0x1f56a8(0x105)]),_0x5352ed[_0x1f56a8(0x138)],_0xf29266);})[a44_0x5ec4d1(0xfe)]('nightwatch',Constants['NIGHTWATCH'][a44_0x5ec4d1(0xe9)],function(_0x9287f0){const _0x39ed36=a44_0x5ec4d1,_0x39a559={'cPNpu':function(_0x1b5320,_0x3bc086,_0xb9b1b2,_0x4a9e53){return _0x1b5320(_0x3bc086,_0xb9b1b2,_0x4a9e53);},'ylPJN':function(_0x6a125d,_0x1235e3){return _0x6a125d(_0x1235e3);},'IHFWp':_0x39ed36(0xd8)},_0x4d3d62=process['argv'][_0x39ed36(0x143)](0x2);return _0x39a559[_0x39ed36(0x12e)](captureError,_0x39a559[_0x39ed36(0xf9)](require,_0x39a559[_0x39ed36(0x137)]),_0x9287f0[_0x39ed36(0x138)],_0x4d3d62);})['command'](a44_0x5ec4d1(0xf2),Constants['CODECEPTJS'][a44_0x5ec4d1(0xe9)],function(_0x38bee2){const _0x4fb49e=a44_0x5ec4d1,_0xe243e1={'sQcHh':function(_0x2bd46b,_0xc2aa20,_0x5786df,_0x4a0e2d){return _0x2bd46b(_0xc2aa20,_0x5786df,_0x4a0e2d);},'dMWOm':function(_0x4589af,_0x49a231){return _0x4589af(_0x49a231);},'ZFwdH':_0x4fb49e(0xe7)},_0x1d4363=process[_0x4fb49e(0x138)]['slice'](0x2);return _0xe243e1[_0x4fb49e(0xf6)](captureError,_0xe243e1[_0x4fb49e(0xd1)](require,_0xe243e1['ZFwdH']),_0x38bee2['argv'],_0x1d4363);})['command'](a44_0x5ec4d1(0x12b),Constants[a44_0x5ec4d1(0xf4)][a44_0x5ec4d1(0xe9)],function(_0xa343c5){const _0x14b366=a44_0x5ec4d1,_0x4c61f0={'aVDPc':function(_0x197077,_0x417f58,_0x5705df){return _0x197077(_0x417f58,_0x5705df);},'rPGGj':function(_0x388cf9,_0x582b15){return _0x388cf9(_0x582b15);},'irziA':'../../ats/src/index'},_0x3603fe=process[_0x14b366(0x138)][_0x14b366(0x143)](0x2);return _0x4c61f0['aVDPc'](captureError,_0x4c61f0[_0x14b366(0xd2)](require,_0x4c61f0[_0x14b366(0x145)]),_0xa343c5);})[a44_0x5ec4d1(0xfe)](a44_0x5ec4d1(0xf8),Constants[a44_0x5ec4d1(0x108)][a44_0x5ec4d1(0xe9)],function(_0x2e7e0c){const _0x10109c=a44_0x5ec4d1,_0x22cc31={'kJKrp':function(_0x35d18f,_0x266448){return _0x35d18f(_0x266448);}};return _0x22cc31[_0x10109c(0xfc)](runIntegrations,_0x2e7e0c);})[a44_0x5ec4d1(0xfe)](a44_0x5ec4d1(0x115),Constants[a44_0x5ec4d1(0xfd)][a44_0x5ec4d1(0xe9)],function(_0xd57f2b){const _0x48992a=a44_0x5ec4d1,_0x89ca3c={'WqgZB':function(_0xa25a02,_0xcb8108,_0x16a16d,_0x29db4e){return _0xa25a02(_0xcb8108,_0x16a16d,_0x29db4e);},'kGeVc':function(_0x37e579,_0x1d793d){return _0x37e579(_0x1d793d);},'ZbrOT':_0x48992a(0x127)},_0x351571=process[_0x48992a(0x138)][_0x48992a(0x143)](0x2);return _0x89ca3c['WqgZB'](captureError,_0x89ca3c[_0x48992a(0x122)](require,_0x89ca3c[_0x48992a(0xd4)]),_0xd57f2b[_0x48992a(0x138)],_0x351571);})[a44_0x5ec4d1(0xdd)](0x1,a44_0x5ec4d1(0x11a))[a44_0x5ec4d1(0x109)](null)[a44_0x5ec4d1(0x138)];!helper[a44_0x5ec4d1(0x103)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x5ec4d1(0x12b)&&console[a44_0x5ec4d1(0x13d)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
|
2
|
+
'use strict';const a44_0x511731=a44_0xff02;function a44_0xff02(_0x2220e1,_0x38dd6d){const _0x35e83c=a44_0x35e8();return a44_0xff02=function(_0xff025e,_0x285746){_0xff025e=_0xff025e-0xc0;let _0x12f348=_0x35e83c[_0xff025e];return _0x12f348;},a44_0xff02(_0x2220e1,_0x38dd6d);}function a44_0x35e8(){const _0x49dd7c=['XHMeL','demandCommand','usage','../../ats/src/index','bXNhi','./vanilla-js/command','AlvNl','nightwatch','VANILLA','HELP','../helpers/performance/performance-tester','mocha','roRLO','globalException','./cucumber-js/command','showHelpOnFail','existsSync','PohBF','1284730kAaAAV','includes','../helpers/helper','INFO','join','RYiJy','message','./utils/constants','WimwL','stack','KwwxS','41656lbcsSS','./mocha/command','slice','NIGHTWATCH','debug','JEST','MOCHA','CUCUMBER','DVmaB','SDKTestSuccessful','--config','startMonitoring','sDHXa','parserConfiguration','push','node','./integrations/command','1WuxUfL','INTEGRATIONS','564669OzVPvl','zNdjY','help','./jest/command','alias','iCCcE','2183440hARchM','.local-not-set.json','info','UxWYy','CODECEPTJS','winstonLogger','--package','ats','jest','--mochaRequire','HWkoc','../helpers/logger','ioVFI','uhJPn','zMWZp','84TWHPJO','SDK_SETUP','1559382lmTsGU','path','setTestObservabilityDisable','Running\x20SDK\x20with\x20args\x20','cucumber-js','start','vTgVH','command','tJBYs','3569350sCOIaM','6OziCGg','--no-package','mocha/lib/cli/run.js','version','handler','iTIML','--require','framework','format','mocha/lib/cli/commands.js','znHKE','codeceptjs','mocha/lib/cli/cli.js','SDK_CLEANUP','error','Parsing\x20command\x20line\x20arguements','unlinkSync','usage:\x20$0\x20<command>\x20[args]','argv','run','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','config','isUndefined','yargs','VERSION','aGTqy','861eEYWJu','9AzySua','xgckS','--opts','567102XnyyvN','oPGrd','util','--no-opts','WruTr'];a44_0x35e8=function(){return _0x49dd7c;};return a44_0x35e8();}(function(_0x57d18d,_0x4307ad){const _0x510ab8=a44_0xff02,_0x256616=_0x57d18d();while(!![]){try{const _0x440838=parseInt(_0x510ab8(0xc9))/0x1*(-parseInt(_0x510ab8(0x10a))/0x2)+-parseInt(_0x510ab8(0xcb))/0x3+-parseInt(_0x510ab8(0xd1))/0x4+parseInt(_0x510ab8(0x121))/0x5*(parseInt(_0x510ab8(0xec))/0x6)+parseInt(_0x510ab8(0x106))/0x7*(parseInt(_0x510ab8(0x12c))/0x8)+-parseInt(_0x510ab8(0x107))/0x9*(parseInt(_0x510ab8(0xeb))/0xa)+-parseInt(_0x510ab8(0xe2))/0xb*(-parseInt(_0x510ab8(0xe0))/0xc);if(_0x440838===_0x4307ad)break;else _0x256616['push'](_0x256616['shift']());}catch(_0x4b3f86){_0x256616['push'](_0x256616['shift']());}}}(a44_0x35e8,0x7dc64));const fs=require('fs'),path=require(a44_0x511731(0xe3)),util=require(a44_0x511731(0x10c)),{requireModule}=require(a44_0x511731(0x123)),PerformanceTester=require(a44_0x511731(0x119)),PerformanceEvents=require('../helpers/performance/constants')['EVENTS'],helper=require('../helpers/helper'),utilities=require('../helpers/utilities'),runIntegrations=require(a44_0x511731(0xc8)),yargs=require(a44_0x511731(0x103)),Constants=require(a44_0x511731(0x128)),logger=require(a44_0x511731(0xdc))[a44_0x511731(0xd6)],origArgs=Object['assign']([],process['argv']),captureError=async(_0x5863c6,_0x50d448,_0x2664c2=null)=>{const _0x615b1a=a44_0x511731,_0x3bdde7={'VfsKX':function(_0x513b73,_0x2eb35f,_0x5da530){return _0x513b73(_0x2eb35f,_0x5da530);},'iTIML':_0x615b1a(0xc1)};try{logger[_0x615b1a(0xd3)](_0x615b1a(0xe5)+origArgs[_0x615b1a(0x125)]('\x20')),await _0x3bdde7['VfsKX'](_0x5863c6,_0x50d448,_0x2664c2);}catch(_0x545099){process['exitCode']=0x1,logger[_0x615b1a(0xfa)](util[_0x615b1a(0xf4)](_0x545099));const _0x44ddb8={};_0x44ddb8[_0x615b1a(0x11c)]=_0x545099[_0x615b1a(0x127)];const _0x43f581=_0x44ddb8;PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x615b1a(0xf4)](_0x545099));if(helper[_0x615b1a(0x102)](global[_0x615b1a(0x101)])&&helper[_0x615b1a(0x102)](global[_0x615b1a(0xf3)]))return;try{utilities['fireFunnelTestEvent'](_0x3bdde7[_0x615b1a(0xf1)],_0x43f581,global[_0x615b1a(0x101)],global['framework']);}catch(_0x4efd71){logger['debug']('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x4efd71[_0x615b1a(0x12a)]);}PerformanceTester['end'](PerformanceEvents[_0x615b1a(0xe1)],![],util['format'](_0x545099));}finally{PerformanceTester['start'](PerformanceEvents[_0x615b1a(0xf9)]);}};try{const browserstackFolderPath=path[a44_0x511731(0x125)](helper['homedir'](),'.browserstack');if(fs[a44_0x511731(0x11f)](browserstackFolderPath)){const filePath=path[a44_0x511731(0x125)](browserstackFolderPath,a44_0x511731(0xd2));fs[a44_0x511731(0x11f)](filePath)&&fs[a44_0x511731(0xfc)](filePath);}}catch(a44_0x2d2395){logger[a44_0x511731(0x130)]('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a44_0x2d2395[a44_0x511731(0x127)]);}process[a44_0x511731(0xfe)][a44_0x511731(0x122)](a44_0x511731(0x11a))&&(!process[a44_0x511731(0xfe)][a44_0x511731(0x122)](a44_0x511731(0x109))&&process[a44_0x511731(0xfe)][a44_0x511731(0xc6)](a44_0x511731(0x10d)),!process[a44_0x511731(0xfe)]['find'](_0x496a8b=>_0x496a8b[a44_0x511731(0x122)](a44_0x511731(0xc2)))&&process[a44_0x511731(0xfe)]['push']('--no-config'),!process[a44_0x511731(0xfe)][a44_0x511731(0x122)](a44_0x511731(0xd7))&&process['argv'][a44_0x511731(0xc6)](a44_0x511731(0xed)),helper['findAndReplace'](process['argv'],a44_0x511731(0xf2),a44_0x511731(0xda)));PerformanceTester[a44_0x511731(0xc3)](),PerformanceTester[a44_0x511731(0xe7)](PerformanceEvents[a44_0x511731(0xe1)]);const a44_0x3b406b={};a44_0x3b406b['dot-notation']=![];const argv=yargs[a44_0x511731(0xc5)](a44_0x3b406b)[a44_0x511731(0x111)](a44_0x511731(0xfd))[a44_0x511731(0xcf)]('v',a44_0x511731(0xef))['describe']('v')[a44_0x511731(0xcf)]('h','help')['help'](a44_0x511731(0xcd))[a44_0x511731(0x11e)](!![],Constants[a44_0x511731(0x104)][a44_0x511731(0x118)])[a44_0x511731(0xe9)](a44_0x511731(0xd9),Constants[a44_0x511731(0x131)][a44_0x511731(0x124)],function(_0x59b748){const _0x5c7d71=a44_0x511731,_0x9a871e={'oPGrd':function(_0x35f223,_0x1a7540,_0x2606dd,_0x308c8a){return _0x35f223(_0x1a7540,_0x2606dd,_0x308c8a);},'rliga':function(_0x20ba66,_0x388060){return _0x20ba66(_0x388060);},'VQNof':_0x5c7d71(0xce)};helper[_0x5c7d71(0xe4)](),helper['setBrowserStackAutomationDisable']();const _0x17c2c8=process[_0x5c7d71(0xfe)][_0x5c7d71(0x12e)](0x2);return _0x9a871e[_0x5c7d71(0x10b)](captureError,_0x9a871e['rliga'](require,_0x9a871e['VQNof']),_0x59b748[_0x5c7d71(0xfe)],_0x17c2c8);})['command'](a44_0x511731(0x11a),Constants[a44_0x511731(0x132)]['INFO'],_0x2e1a82=>{const _0x3f4fb1=a44_0x511731,_0xc8397d={'vTgVH':function(_0x52b11a,_0x4804b5,_0x211e48){return _0x52b11a(_0x4804b5,_0x211e48);},'KPvPO':function(_0x3cdd29,_0x1aa86e){return _0x3cdd29(_0x1aa86e);},'RYiJy':_0x3f4fb1(0x12d),'tJBYs':_0x3f4fb1(0xfb),'DVmaB':_0x3f4fb1(0xee),'PohBF':_0x3f4fb1(0x11a),'zNdjY':_0x3f4fb1(0xf5),'AlvNl':function(_0x46d5c9,_0x448ee5,_0x27dd72){return _0x46d5c9(_0x448ee5,_0x27dd72);},'zNJWc':_0x3f4fb1(0xf8),'WruTr':function(_0x9d5e1e){return _0x9d5e1e();}};logger[_0x3f4fb1(0x130)](_0xc8397d[_0x3f4fb1(0xea)]);const _0x561f72=_0xc8397d['vTgVH'](requireModule,_0xc8397d[_0x3f4fb1(0xc0)],_0xc8397d[_0x3f4fb1(0x120)]),_0x5d3319=_0xc8397d[_0x3f4fb1(0xe8)](requireModule,_0xc8397d[_0x3f4fb1(0xcc)],_0xc8397d['PohBF']);process['argv']=process[_0x3f4fb1(0xfe)]['slice'](0x1),delete _0x561f72[_0x3f4fb1(0xf0)],_0x561f72[_0x3f4fb1(0xf0)]=function(_0x60845c){const _0x175733=_0x3f4fb1;return _0xc8397d[_0x175733(0xe8)](captureError,_0xc8397d['KPvPO'](require,_0xc8397d[_0x175733(0x126)]),_0x60845c);},_0x5d3319[_0x3f4fb1(0xff)]=_0x561f72;const {main:_0x6dff2c}=_0xc8397d[_0x3f4fb1(0x115)](requireModule,_0xc8397d['zNJWc'],_0xc8397d['PohBF']);_0xc8397d[_0x3f4fb1(0x10e)](_0x6dff2c);})[a44_0x511731(0xe9)](a44_0x511731(0xe6),Constants[a44_0x511731(0x133)]['INFO'],function(_0x4f7b12){const _0x2b697b=a44_0x511731,_0x28337e={'roRLO':function(_0x297c54,_0x3e0565,_0x96bba5,_0x25d9a7){return _0x297c54(_0x3e0565,_0x96bba5,_0x25d9a7);},'KwwxS':function(_0x27e5e5,_0xce2dba){return _0x27e5e5(_0xce2dba);},'iCCcE':_0x2b697b(0x11d)},_0x473cbc=process[_0x2b697b(0xfe)]['slice'](0x2);return _0x28337e[_0x2b697b(0x11b)](captureError,_0x28337e[_0x2b697b(0x12b)](require,_0x28337e[_0x2b697b(0xd0)]),_0x4f7b12[_0x2b697b(0xfe)],_0x473cbc);})[a44_0x511731(0xe9)](a44_0x511731(0xc7),Constants[a44_0x511731(0x117)][a44_0x511731(0x124)],function(_0x2ae924){const _0x13d4b2=a44_0x511731,_0x684c39={'oijKE':function(_0x195e74,_0xca7016,_0x1584a7,_0x1d0d20){return _0x195e74(_0xca7016,_0x1584a7,_0x1d0d20);},'HWkoc':function(_0x1b9ba5,_0x553e59){return _0x1b9ba5(_0x553e59);},'WICZr':_0x13d4b2(0x114)},_0x1f618e=process[_0x13d4b2(0xfe)][_0x13d4b2(0x12e)](0x2);return _0x684c39['oijKE'](captureError,_0x684c39[_0x13d4b2(0xdb)](require,_0x684c39['WICZr']),_0x2ae924['argv'],_0x1f618e);})[a44_0x511731(0xe9)](a44_0x511731(0x116),Constants[a44_0x511731(0x12f)][a44_0x511731(0x124)],function(_0x34e44a){const _0x1b0abd=a44_0x511731,_0x250c09={'XHMeL':function(_0x45f322,_0xdffd7d,_0x35fa5d,_0x12f209){return _0x45f322(_0xdffd7d,_0x35fa5d,_0x12f209);},'znHKE':function(_0x5f5305,_0x191c93){return _0x5f5305(_0x191c93);},'bXNhi':'./nightwatch/command'},_0x2c1cae=process[_0x1b0abd(0xfe)][_0x1b0abd(0x12e)](0x2);return _0x250c09[_0x1b0abd(0x10f)](captureError,_0x250c09[_0x1b0abd(0xf6)](require,_0x250c09[_0x1b0abd(0x113)]),_0x34e44a[_0x1b0abd(0xfe)],_0x2c1cae);})[a44_0x511731(0xe9)](a44_0x511731(0xf7),Constants[a44_0x511731(0xd5)][a44_0x511731(0x124)],function(_0x477cd5){const _0x536be3=a44_0x511731,_0x11dc5e={'EkYmq':function(_0x30596b,_0x117b09,_0x2f82c6,_0x2b5969){return _0x30596b(_0x117b09,_0x2f82c6,_0x2b5969);},'aGTqy':function(_0x1b0392,_0x3270ba){return _0x1b0392(_0x3270ba);},'payRe':'./codeceptjs/command'},_0x31ddb2=process[_0x536be3(0xfe)]['slice'](0x2);return _0x11dc5e['EkYmq'](captureError,_0x11dc5e[_0x536be3(0x105)](require,_0x11dc5e['payRe']),_0x477cd5[_0x536be3(0xfe)],_0x31ddb2);})['command'](a44_0x511731(0xd8),Constants['HST'][a44_0x511731(0x124)],function(_0x92fb20){const _0x4ecb71=a44_0x511731,_0x2d9ff0={'sDHXa':function(_0x5b8a3e,_0x34d39c,_0x35af03){return _0x5b8a3e(_0x34d39c,_0x35af03);},'ioVFI':function(_0x1adc88,_0x37a0fc){return _0x1adc88(_0x37a0fc);},'xgckS':_0x4ecb71(0x112)},_0x50500e=process['argv']['slice'](0x2);return _0x2d9ff0[_0x4ecb71(0xc4)](captureError,_0x2d9ff0[_0x4ecb71(0xdd)](require,_0x2d9ff0[_0x4ecb71(0x108)]),_0x92fb20);})[a44_0x511731(0xe9)]('integrations',Constants[a44_0x511731(0xca)][a44_0x511731(0x124)],function(_0x328ba7){const _0x1b82e3=a44_0x511731,_0x535c10={'zMWZp':function(_0x241519,_0x31e043){return _0x241519(_0x31e043);}};return _0x535c10[_0x1b82e3(0xdf)](runIntegrations,_0x328ba7);})[a44_0x511731(0xe9)]('playwright',Constants['PLAYWRIGHT']['INFO'],function(_0x3a90dc){const _0x47c7d8=a44_0x511731,_0x4d1fe7={'UxWYy':function(_0x5df604,_0x35a5e5,_0x2a3518,_0x1bd9a0){return _0x5df604(_0x35a5e5,_0x2a3518,_0x1bd9a0);},'WimwL':function(_0x2a68fa,_0x3fd927){return _0x2a68fa(_0x3fd927);},'uhJPn':'./playwright/command'},_0x4f247a=process[_0x47c7d8(0xfe)]['slice'](0x2);return _0x4d1fe7[_0x47c7d8(0xd4)](captureError,_0x4d1fe7[_0x47c7d8(0x129)](require,_0x4d1fe7[_0x47c7d8(0xde)]),_0x3a90dc['argv'],_0x4f247a);})[a44_0x511731(0x110)](0x1,a44_0x511731(0x100))['wrap'](null)[a44_0x511731(0xfe)];!helper[a44_0x511731(0x102)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x511731(0xd8)&&console['error']('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a45_0x58005e=a45_0x4c4b;(function(_0x344886,_0x2ebdee){const _0x4f687d=a45_0x4c4b,_0x1f1ff2=_0x344886();while(!![]){try{const _0x92db07=-parseInt(_0x4f687d(0x1e2))/0x1*(parseInt(_0x4f687d(0x21e))/0x2)+-parseInt(_0x4f687d(0x1ed))/0x3*(-parseInt(_0x4f687d(0x1f5))/0x4)+parseInt(_0x4f687d(0x1e1))/0x5+parseInt(_0x4f687d(0x1e6))/0x6+-parseInt(_0x4f687d(0x1ee))/0x7+parseInt(_0x4f687d(0x205))/0x8+-parseInt(_0x4f687d(0x1fa))/0x9;if(_0x92db07===_0x2ebdee)break;else _0x1f1ff2['push'](_0x1f1ff2['shift']());}catch(_0x1e9df9){_0x1f1ff2['push'](_0x1f1ff2['shift']());}}}(a45_0x1fbd,0x31aee));const fs=require('fs'),helper=require(a45_0x58005e(0x213)),utilities=require(a45_0x58005e(0x21c)),yaml=require(a45_0x58005e(0x1d8)),yargs=require(a45_0x58005e(0x1d9)),logger=require('../helpers/logger')[a45_0x58005e(0x1e8)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFileTemplatePW=__dirname+'/../../browserstack.pw.yml.sample',configFile=process[a45_0x58005e(0x1fc)]()+'/browserstack.yml',packageFile=process[a45_0x58005e(0x1fc)]()+a45_0x58005e(0x1d6),frameworks=[a45_0x58005e(0x1ef),a45_0x58005e(0x1f1),a45_0x58005e(0x20f),a45_0x58005e(0x20a),a45_0x58005e(0x1dd),a45_0x58005e(0x216),a45_0x58005e(0x21b)];let config;logger[a45_0x58005e(0x20c)](a45_0x58005e(0x20b)),createConfigurationFile(yargs[a45_0x58005e(0x1e4)][a45_0x58005e(0x1df)],yargs['argv'][a45_0x58005e(0x1f0)],yargs[a45_0x58005e(0x1e4)][a45_0x58005e(0x21b)]);try{sdkSetup();}catch(a45_0x5a0976){logger['debug'](a45_0x58005e(0x1f9)+a45_0x5a0976);}addScriptInPackageJson();function createConfigurationFile(_0x1193bd,_0x3c2efe,_0x4af5be=![]){const _0x44110b=a45_0x58005e,_0x2fbbe3={};_0x2fbbe3[_0x44110b(0x1e3)]=_0x44110b(0x1da),_0x2fbbe3[_0x44110b(0x1ec)]=_0x44110b(0x1de),_0x2fbbe3[_0x44110b(0x1f7)]='YOUR_ACCESS_KEY';const _0x1a17e6=_0x2fbbe3;try{let _0x12602f=fs['readFileSync'](_0x4af5be?configFileTemplatePW:configFileTemplate,_0x1a17e6[_0x44110b(0x1e3)]);_0x1193bd&&(_0x12602f=_0x12602f[_0x44110b(0x210)](_0x1a17e6[_0x44110b(0x1ec)],_0x1193bd)),_0x3c2efe&&(_0x12602f=_0x12602f['replace'](_0x1a17e6[_0x44110b(0x1f7)],_0x3c2efe)),config=yaml[_0x44110b(0x1e0)](_0x12602f),fs[_0x44110b(0x209)](configFile,_0x12602f,_0x144e69=>{const _0x358c35=_0x44110b;_0x144e69&&logger[_0x358c35(0x217)](_0x144e69);});}catch(_0x6931f1){logger[_0x44110b(0x217)](_0x6931f1);}}function addPostInstallScript(_0x90d6ed,_0xded762){const _0x3c834d=a45_0x58005e,_0x2478d1={};_0x2478d1['upfpi']=_0x3c834d(0x1e5),_0x2478d1[_0x3c834d(0x1e7)]=_0x3c834d(0x21d),_0x2478d1[_0x3c834d(0x1ea)]=_0x3c834d(0x1e9);const _0x4fc699=_0x2478d1;let _0x19e996=_0x90d6ed[_0x4fc699[_0x3c834d(0x203)]];if(_0x19e996&&_0x19e996[_0x3c834d(0x1fe)](_0x4fc699[_0x3c834d(0x1e7)]))return;!_0x19e996?_0x19e996=_0x4fc699['gqkgY']:_0x19e996+=_0x4fc699[_0x3c834d(0x1ea)],_0xded762[_0x3c834d(0x1f6)]([_0x4fc699[_0x3c834d(0x203)],_0x19e996]);}function a45_0x4c4b(_0x56b4f4,_0x1f5052){const _0x1fbdf5=a45_0x1fbd();return a45_0x4c4b=function(_0x4c4bf1,_0x11081f){_0x4c4bf1=_0x4c4bf1-0x1d5;let _0x498590=_0x1fbdf5[_0x4c4bf1];return _0x498590;},a45_0x4c4b(_0x56b4f4,_0x1f5052);}function addScriptInPackageJson(){const _0xbe11bd=a45_0x58005e,_0x532d7f={'dQBDD':_0xbe11bd(0x1da),'LTgfc':function(_0x4c3c25,_0x19fd4e){return _0x4c3c25<_0x19fd4e;},'hOlAN':function(_0x3fda24,_0x35a1d3,_0x5e2870){return _0x3fda24(_0x35a1d3,_0x5e2870);},'wqFFV':function(_0x215123,_0x51162d,_0x20a48a){return _0x215123(_0x51162d,_0x20a48a);},'wfvop':function(_0x5a3bed,_0x320976,_0x29c624){return _0x5a3bed(_0x320976,_0x29c624);},'RpIMp':function(_0x2e0a73,_0x3b4868){return _0x2e0a73<_0x3b4868;},'rAxue':function(_0x4441d1,_0xa5e908){return _0x4441d1!==_0xa5e908;},'HPQIh':_0xbe11bd(0x21a)},_0x3a961e=JSON['parse'](fs[_0xbe11bd(0x219)](packageFile,_0x532d7f['dQBDD'])),_0x263d37=[];for(let _0x47d19c=0x0;_0x532d7f['LTgfc'](_0x47d19c,frameworks['length']);_0x47d19c+=0x1){const _0x487555=_0x532d7f[_0xbe11bd(0x214)](findScriptsWithFramework,_0x3a961e[_0xbe11bd(0x201)],frameworks[_0x47d19c]);for(let _0x5735ae=0x0;_0x532d7f[_0xbe11bd(0x1d7)](_0x5735ae,_0x487555['length']);_0x5735ae+=0x1){_0x263d37[_0xbe11bd(0x1f6)](_0x532d7f[_0xbe11bd(0x212)](getUpdatedCommand,_0x3a961e[_0xbe11bd(0x201)],_0x487555[_0x5735ae]));}_0x532d7f[_0xbe11bd(0x1db)](addPostInstallScript,_0x3a961e['scripts'],_0x263d37);}const _0x54bce4={..._0x3a961e[_0xbe11bd(0x201)]},_0x5cf3eb=_0x54bce4;for(let _0x50b42f=0x0;_0x532d7f[_0xbe11bd(0x200)](_0x50b42f,_0x263d37['length']);_0x50b42f+=0x1){_0x5cf3eb[_0x263d37[_0x50b42f][0x0]]=_0x263d37[_0x50b42f][0x1];}_0x532d7f['rAxue'](JSON['stringify'](_0x3a961e[_0xbe11bd(0x201)]),JSON['stringify'](_0x5cf3eb))&&(logger[_0xbe11bd(0x20c)](_0x532d7f[_0xbe11bd(0x218)]),_0x3a961e[_0xbe11bd(0x201)]=_0x5cf3eb,fs['writeFileSync'](packageFile,JSON['stringify'](_0x3a961e,null,0x2),_0x56e492=>{_0x56e492&&logger['error'](_0x56e492);}));}function a45_0x1fbd(){const _0x3ead55=['writeFileSync','node','Creating\x20configuration\x20file...','info','join','fireFunnelTestEvent','cucumber-js','replace','entries','wqFFV','../helpers/helper','hOlAN','qdgXf','codeceptjs','error','HPQIh','readFileSync','Adding\x20new\x20script(s)\x20in\x20package.json...','playwright','../helpers/utilities','npm\x20update\x20browserstack-node-sdk','136zKKkjY','isUndefined','/package.json','LTgfc','js-yaml','yargs','utf8','wfvop','SDKSetup','nightwatch','YOUR_USERNAME','username','load','1640740fiIBLE','3815rpjhCf','xivwl','argv','postinstall','1386342VsgNpw','gqkgY','winstonLogger','\x20&&\x20npm\x20update\x20browserstack-node-sdk','ycHxF','zBbjH','iboYU','732ESeFUV','319438bNkXis','mocha','key','jest','-browserstack','length','node-setup','3268rQwbvi','push','uWqan','aYjwf','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','4354722HFDfIH','indexOf','cwd','PbxqB','includes','rzHoa','RpIMp','scripts','debug','upfpi','artDJ','1870888LhKfSZ','kilsC','browserstack-node-sdk','Setup\x20completed'];a45_0x1fbd=function(){return _0x3ead55;};return a45_0x1fbd();};function findScriptsWithFramework(_0x2951df,_0xae1a33){const _0xf4ad93=a45_0x58005e,_0x1bd1e3={};_0x1bd1e3[_0xf4ad93(0x206)]=function(_0x16b3ac,_0x444121){return _0x16b3ac<_0x444121;},_0x1bd1e3[_0xf4ad93(0x1ff)]=_0xf4ad93(0x207);const _0x166977=_0x1bd1e3,_0x3f0106=[],_0x5026d3=Object[_0xf4ad93(0x211)](_0x2951df);for(let _0xcb968a=0x0;_0x166977[_0xf4ad93(0x206)](_0xcb968a,_0x5026d3[_0xf4ad93(0x1f3)]);_0xcb968a+=0x1){_0x5026d3[_0xcb968a][0x1][_0xf4ad93(0x1fe)](_0xae1a33)&&!_0x5026d3[_0xcb968a][0x1][_0xf4ad93(0x1fe)](_0x166977[_0xf4ad93(0x1ff)])&&_0x3f0106[_0xf4ad93(0x1f6)](_0x5026d3[_0xcb968a][0x0]);}return _0x3f0106;}function getUpdatedCommand(_0x1a1b27,_0x6f85ce){const _0x481916=a45_0x58005e,_0x250aac={};_0x250aac[_0x481916(0x215)]=function(_0x32f3b3,_0xe2292b){return _0x32f3b3!==_0xe2292b;},_0x250aac[_0x481916(0x1f8)]=_0x481916(0x207),_0x250aac[_0x481916(0x1eb)]=function(_0x314eb1,_0x433bd8){return _0x314eb1===_0x433bd8;};const _0x3e5ba6=_0x250aac,_0x139b93=_0x6f85ce+_0x481916(0x1f2),_0x3bb29b=_0x1a1b27[_0x6f85ce],_0x1f8cd8=_0x3bb29b['split']('\x20');for(const _0x1d8bf7 of frameworks){if(_0x3e5ba6['qdgXf'](_0x1f8cd8[_0x481916(0x1fb)](_0x1d8bf7),-0x1)){_0x1f8cd8['splice'](_0x1f8cd8[_0x481916(0x1fb)](_0x1d8bf7),0x0,_0x3e5ba6[_0x481916(0x1f8)]);break;}}let _0x5d1729=_0x1f8cd8[_0x481916(0x20d)]('\x20');return _0x3e5ba6[_0x481916(0x1eb)](_0x5d1729,_0x3bb29b)&&(_0x5d1729='browserstack-node-sdk\x20'+_0x3bb29b),[_0x139b93,_0x5d1729];}function sdkSetup(){const _0x2e09e1=a45_0x58005e,_0x23ae4d={};_0x23ae4d[_0x2e09e1(0x204)]=_0x2e09e1(0x1f4),_0x23ae4d[_0x2e09e1(0x1fd)]=_0x2e09e1(0x1dc);const _0x2953b1=_0x23ae4d;if(helper[_0x2e09e1(0x1d5)](config))return;config['source']=_0x2953b1[_0x2e09e1(0x204)];try{utilities[_0x2e09e1(0x20e)](_0x2953b1[_0x2e09e1(0x1fd)],{},config,'');}catch(_0x433f64){logger[_0x2e09e1(0x202)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0x433f64);}}logger[a45_0x58005e(0x20c)](a45_0x58005e(0x208));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a46_0x5cb94a=a46_0x5e11;(function(_0x55db21,_0x1020f4){const _0x63ca2b=a46_0x5e11,_0x4a76cc=_0x55db21();while(!![]){try{const _0x2f4cab=-parseInt(_0x63ca2b(0xa6))/0x1*(-parseInt(_0x63ca2b(0xca))/0x2)+-parseInt(_0x63ca2b(0xae))/0x3+parseInt(_0x63ca2b(0xed))/0x4*(-parseInt(_0x63ca2b(0xe3))/0x5)+-parseInt(_0x63ca2b(0xd9))/0x6*(-parseInt(_0x63ca2b(0xb1))/0x7)+-parseInt(_0x63ca2b(0xd2))/0x8*(-parseInt(_0x63ca2b(0xd7))/0x9)+parseInt(_0x63ca2b(0xa0))/0xa+-parseInt(_0x63ca2b(0xb9))/0xb;if(_0x2f4cab===_0x1020f4)break;else _0x4a76cc['push'](_0x4a76cc['shift']());}catch(_0x40763e){_0x4a76cc['push'](_0x4a76cc['shift']());}}}(a46_0x1d06,0xd4b23));const Worker=require(a46_0x5cb94a(0xab))['Worker'],Emittery=require('emittery'),pLimit=require(a46_0x5cb94a(0xd8)),{parentPort}=require(a46_0x5cb94a(0xf0)),util=require(a46_0x5cb94a(0xe5)),logger=require('../../helpers/logger')['winstonLogger'],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a46_0x5cb94a(0xb5))[a46_0x5cb94a(0xb8)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a46_0x5cb94a(0x96)),{FRAMEWORKS}=require(a46_0x5cb94a(0xaa));function a46_0x5e11(_0xe70b4f,_0x57b3d6){const _0x1d0699=a46_0x1d06();return a46_0x5e11=function(_0x5e1177,_0x27721e){_0x5e1177=_0x5e1177-0x94;let _0x1538f4=_0x1d0699[_0x5e1177];return _0x1538f4;},a46_0x5e11(_0xe70b4f,_0x57b3d6);}exports[a46_0x5cb94a(0xc9)]=(_0x3f0e5e,_0x4a1953,_0x561ea0)=>new Promise(async _0x34cf7d=>{const _0x41bb7f=a46_0x5cb94a,_0xfe96be={'sZPkl':_0x41bb7f(0xba),'YCmkp':function(_0x202937,_0x4e439a){return _0x202937+_0x4e439a;},'sQeMj':_0x41bb7f(0xe1),'YcVES':_0x41bb7f(0x9e),'YMsCX':function(_0x1566ae,_0x45590d){return _0x1566ae(_0x45590d);},'zonpF':function(_0x18836b,_0x2373b0){return _0x18836b(_0x2373b0);},'jdlbF':_0x41bb7f(0xe4),'LtmGL':_0x41bb7f(0xf9),'fLsep':_0x41bb7f(0xcf),'WeXBa':'json','Heaze':_0x41bb7f(0xa5),'Idnem':function(_0x40a59e,_0x2e3c9c){return _0x40a59e*_0x2e3c9c;},'hnMiT':_0x41bb7f(0x9b),'zqZfD':_0x41bb7f(0x9a),'nbmro':function(_0x49dd35,_0x14c52c){return _0x49dd35(_0x14c52c);}},_0x2d8298=_0x561ea0[_0x41bb7f(0xdd)],_0xcd603={},_0x28e25f=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x41bb7f(0xc8)],_0x561ea0),_0x40d574=new Worker(require[_0x41bb7f(0xd3)](_0xfe96be[_0x41bb7f(0xe9)]),{'exposedMethods':[_0xfe96be[_0x41bb7f(0xdf)]],'forkOptions':{'serialization':_0xfe96be[_0x41bb7f(0xdb)],'stdio':_0xfe96be[_0x41bb7f(0xe0)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0xfe96be[_0x41bb7f(0x99)](_0x4a1953,0x1),'enableWorkerThreads':!![]}),_0x183aa9=new Emittery();_0x183aa9['on'](_0xfe96be[_0x41bb7f(0x97)],_0x118719=>{const _0xfa6a70=_0x41bb7f;_0xcd603[_0x118719[0x0]]?(_0xcd603[_0x118719[0x0]][_0xfe96be[_0xfa6a70(0xa1)]]=_0xfe96be['YCmkp'](_0xcd603[_0x118719[0x0]][_0xfe96be[_0xfa6a70(0xa1)]],_0x118719[0x1][_0xfe96be['sZPkl']]),_0xcd603[_0x118719[0x0]][_0xfe96be[_0xfa6a70(0xea)]]=[..._0xcd603[_0x118719[0x0]][_0xfe96be[_0xfa6a70(0xea)]],..._0x118719[0x1][_0xfe96be['sQeMj']]]):_0xcd603[_0x118719[0x0]]={'failureCount':_0x118719[0x1][_0xfe96be[_0xfa6a70(0xa1)]],'results':[..._0x118719[0x1][_0xfe96be[_0xfa6a70(0xea)]]]};}),_0x183aa9['on'](_0xfe96be[_0x41bb7f(0xac)],_0x357324=>console[_0x41bb7f(0xb3)](_0x357324[0x1]));_0x40d574[_0x41bb7f(0xcc)]()&&_0x40d574[_0x41bb7f(0xcc)]()[_0x41bb7f(0xa5)](process[_0x41bb7f(0xa3)]);_0x40d574['getStderr']()&&_0x40d574[_0x41bb7f(0xa9)]()[_0x41bb7f(0xa5)](process[_0x41bb7f(0xc2)]);const _0x158b6d=async()=>{const _0x285008=_0x41bb7f,{forceExited:_0x373ac8}=await _0x40d574[_0x285008(0xec)]();_0x373ac8&&console['error'](_0xfe96be[_0x285008(0xde)]);try{await TestHubHandler['stop']();}catch(_0x154159){_0xfe96be[_0x285008(0xda)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20'+_0x154159);}_0xfe96be[_0x285008(0xd4)](_0x34cf7d,_0xcd603);},_0x309297=_0xfe96be[_0x41bb7f(0xf7)](pLimit,_0xfe96be[_0x41bb7f(0x99)](_0x4a1953,0x1)),_0x3697b6=_0x201c99=>_0x309297(async()=>{const _0x39624a=_0x41bb7f;await _0x183aa9[_0x39624a(0x94)](_0xfe96be[_0x39624a(0xc1)],_0x201c99);const _0x9a53ac=_0x40d574[_0x39624a(0xcf)](_0x201c99,_0x2d8298);try{parentPort&&_0x9a53ac['UNSTABLE_onCustomMessage'](_0x26055a=>{const _0x169f4f=_0x39624a;try{parentPort[_0x169f4f(0x9d)](_0x26055a);}catch(_0x38794c){logger[_0x169f4f(0xd1)](_0x169f4f(0xb4)+util['format'](_0x38794c));}});}catch(_0x3c6a03){logger['debug']('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util['format'](_0x3c6a03));}return _0x9a53ac;});PerformanceTester[_0x41bb7f(0xec)](PerformanceEvents[_0x41bb7f(0xef)]),Promise['all'](_0x3f0e5e[_0x41bb7f(0xa7)](_0xfc14c0=>_0x3697b6(_0xfc14c0)[_0x41bb7f(0xc4)](_0x4b8877=>_0x183aa9[_0x41bb7f(0x94)](_0x41bb7f(0x9b),[_0xfc14c0[_0x41bb7f(0xb2)][_0x41bb7f(0xf1)],_0x4b8877]),_0x178154=>_0x183aa9[_0x41bb7f(0x94)](_0x41bb7f(0x9a),[_0xfc14c0,_0x178154]))))[_0x41bb7f(0xc4)](_0x158b6d,_0x158b6d);}),exports[a46_0x5cb94a(0xbe)]=(_0x1f7e80,_0x3ffbf7,_0x1c9343,_0x306612,_0x1452ff)=>{const _0xe798f1=a46_0x5cb94a,_0x12bd04={'SYWDS':_0xe798f1(0x9e),'UJpLf':function(_0x56453b,_0x3ee82f){return _0x56453b(_0x3ee82f);},'YfIxP':_0xe798f1(0xdc),'uwfMN':'./testWorker.js','PzMbf':'cucumberWorker','ZqTvX':'json','ztClw':_0xe798f1(0xa5),'hAZkf':_0xe798f1(0xbd),'tTpXn':_0xe798f1(0xc3),'IMkjw':function(_0x4a4129,_0x185ca6){return _0x4a4129(_0x185ca6);}};return new Promise(_0x37bed8=>{const _0x3bb66e=_0xe798f1,_0x1d980e={'WoqMa':_0x12bd04['SYWDS'],'dLRmZ':function(_0x22aa70,_0x192221){const _0x1b259d=a46_0x5e11;return _0x12bd04[_0x1b259d(0xc5)](_0x22aa70,_0x192221);},'kaaNB':_0x12bd04[_0x3bb66e(0x9c)]},_0x4bc2b2=[],_0x50508b=new Worker(require['resolve'](_0x12bd04['uwfMN']),{'exposedMethods':[_0x12bd04[_0x3bb66e(0xeb)]],'forkOptions':{'serialization':_0x12bd04[_0x3bb66e(0xc0)],'stdio':_0x12bd04[_0x3bb66e(0xd0)]},'numWorkers':_0x1f7e80[_0x3bb66e(0xe6)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x5d4e07=new Emittery();_0x5d4e07['on'](_0x12bd04[_0x3bb66e(0xcd)],_0x2b7519=>{const _0x1a5b2a=_0x3bb66e;_0x4bc2b2[_0x1a5b2a(0xad)]([_0x2b7519[0x0],_0x2b7519[0x1]]);}),_0x5d4e07['on'](_0x12bd04[_0x3bb66e(0x98)],_0x15e8f0=>console[_0x3bb66e(0xb3)](_0x15e8f0[0x1]));_0x50508b['getStdout']()&&_0x50508b[_0x3bb66e(0xcc)]()[_0x3bb66e(0xa5)](process[_0x3bb66e(0xa3)]);_0x50508b['getStderr']()&&_0x50508b[_0x3bb66e(0xa9)]()[_0x3bb66e(0xa5)](process[_0x3bb66e(0xc2)]);const _0x431f6a=async()=>{const _0x390bdc=_0x3bb66e,{forceExited:_0x51f1d8}=await _0x50508b[_0x390bdc(0xec)]();_0x51f1d8&&console['error'](_0x1d980e[_0x390bdc(0xf8)]),_0x1d980e['dLRmZ'](_0x37bed8,_0x4bc2b2);},_0x400e66=_0x12bd04[_0x3bb66e(0xc6)](pLimit,_0x1f7e80['length']||0x1),_0x211e03=(_0x18ebbe,_0x26205b)=>_0x400e66(async()=>{const _0x52e461=_0x3bb66e;return await _0x5d4e07[_0x52e461(0x94)](_0x1d980e[_0x52e461(0xd6)],_0x18ebbe),_0x3ffbf7['platformCaps']=_0x1c9343[_0x52e461(0xb6)][_0x26205b],_0x50508b[_0x52e461(0xf3)](_0x18ebbe,_0x3ffbf7,_0x1c9343,_0x306612,_0x1452ff);});Promise[_0x3bb66e(0xd5)](_0x1f7e80[_0x3bb66e(0xa7)]((_0x4fa208,_0x41d45b)=>_0x211e03(_0x4fa208,_0x41d45b)[_0x3bb66e(0xc4)](_0x49157e=>_0x5d4e07[_0x3bb66e(0x94)](_0x3bb66e(0xbd),[_0x4fa208,_0x49157e]),_0x52f9e4=>_0x5d4e07[_0x3bb66e(0x94)](_0x3bb66e(0xc3),[_0x4fa208,_0x52f9e4]))))[_0x3bb66e(0xc4)](_0x431f6a,_0x431f6a);});},exports[a46_0x5cb94a(0xb7)]=(_0x2a1b15,_0x52373c)=>new Promise(_0x42c138=>{const _0x4b472f=a46_0x5cb94a,_0x191a5f={'irrbk':function(_0x289e23,_0x1be055){return _0x289e23===_0x1be055;},'eUisn':function(_0x354c07,_0x42ca45){return _0x354c07!==_0x42ca45;},'IiWSh':'exit','Nhqbx':_0x4b472f(0x9e),'iHMdV':function(_0x24b921,_0x28508c){return _0x24b921(_0x28508c);},'ugTSs':'./testWorker.js','eSZhc':_0x4b472f(0xa8),'ieCtO':_0x4b472f(0xa4),'TeGRm':_0x4b472f(0xa5),'YDycX':_0x4b472f(0x9b),'Smjmw':'test-file-failure','GkKQc':function(_0x294829,_0x308234){return _0x294829(_0x308234);}},_0x11b99d={},_0x1b15ab=new Worker(require[_0x4b472f(0xd3)](_0x191a5f[_0x4b472f(0xf6)]),{'exposedMethods':[_0x191a5f[_0x4b472f(0xbf)]],'forkOptions':{'serialization':_0x191a5f['ieCtO'],'stdio':_0x191a5f[_0x4b472f(0xf4)]},'numWorkers':_0x52373c,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x3092a1=new Emittery();_0x3092a1['on'](_0x191a5f['YDycX'],_0x4d4342=>{const _0x1cfd3f=_0x4b472f;_0x4d4342[0x0]&&logger[_0x1cfd3f(0x95)]('Running\x20'+_0x4d4342[0x1]+_0x1cfd3f(0xb0),_0x4d4342[0x0]);}),_0x3092a1['on'](_0x191a5f['Smjmw'],_0xdb4f95=>{const _0x13d76a=_0x4b472f;process[_0x13d76a(0xcb)]=0x1;});_0x1b15ab[_0x4b472f(0xcc)]()&&_0x1b15ab[_0x4b472f(0xcc)]()[_0x4b472f(0xa5)](process[_0x4b472f(0xa3)]);_0x1b15ab[_0x4b472f(0xa9)]()&&_0x1b15ab[_0x4b472f(0xa9)]()[_0x4b472f(0xa5)](process[_0x4b472f(0xc2)]);const _0xf759f2=async()=>{const _0x46e2c7=_0x4b472f,_0x4766d1={'BAYtU':function(_0x3ecf9f,_0x38d98d){const _0xd9bba7=a46_0x5e11;return _0x191a5f[_0xd9bba7(0xf5)](_0x3ecf9f,_0x38d98d);},'tEKCP':function(_0x961f50,_0x25c24f){const _0x2f2c1e=a46_0x5e11;return _0x191a5f[_0x2f2c1e(0xbc)](_0x961f50,_0x25c24f);},'AUsxN':_0x191a5f[_0x46e2c7(0xaf)]};let _0x2b033a=0x0;const _0x52f0fa=_0x1b15ab[_0x46e2c7(0xe2)]['getWorkers'](),_0x4bc197=()=>{},_0x46ddf8=_0x52f0fa[_0x46e2c7(0xa7)](async _0x358243=>{const _0x2faeb8=_0x46e2c7;_0x358243[_0x2faeb8(0xc7)]([0x2,![]],_0x4bc197,_0x4bc197,_0x4bc197),_0x358243[_0x2faeb8(0xe8)]['on'](_0x4766d1[_0x2faeb8(0xce)],_0x52cf45=>{const _0x5eaeb1=_0x2faeb8;_0x4766d1[_0x5eaeb1(0xa2)](_0x2b033a,0x0)&&_0x4766d1[_0x5eaeb1(0xbb)](_0x52cf45,0x0)&&(_0x2b033a=_0x52cf45);}),await _0x358243[_0x2faeb8(0xee)]();});await Promise[_0x46e2c7(0xd5)](_0x46ddf8),process[_0x46e2c7(0xcb)]=_0x2b033a;const {forceExited:_0xa89cf6}=await _0x1b15ab['end']();_0xa89cf6&&console[_0x46e2c7(0xf2)](_0x191a5f['Nhqbx']),_0x191a5f['iHMdV'](_0x42c138,_0x11b99d);},_0x14a56f=_0x191a5f[_0x4b472f(0x9f)](pLimit,_0x52373c),_0x1a62a9=_0xd7ce41=>_0x14a56f(async()=>{const _0x51b8b4=_0x4b472f;return _0x1b15ab[_0x51b8b4(0xa8)](_0xd7ce41);});Promise[_0x4b472f(0xd5)](_0x2a1b15[_0x4b472f(0xa7)](_0x541890=>_0x1a62a9(_0x541890)[_0x4b472f(0xc4)](_0x2333eb=>_0x3092a1[_0x4b472f(0x94)](_0x4b472f(0x9b),[_0x541890['configuration']['platform'],_0x541890[_0x4b472f(0xb2)][_0x4b472f(0xe7)]]),_0x4b7a74=>_0x3092a1[_0x4b472f(0x94)]('test-file-failure',[_0x541890,_0x4b7a74]))))[_0x4b472f(0xc4)](_0xf759f2,_0xf759f2);});function a46_0x1d06(){const _0x301a56=['YcVES','fLsep','Heaze','results','_workerPool','534525dxMEKw','test-file-start','util','length','file','_child','LtmGL','sQeMj','PzMbf','end','8wBIwgM','waitForExit','SDK_SETUP','worker_threads','platform','error','cucumberWorker','TeGRm','irrbk','ugTSs','nbmro','WoqMa','./testWorker.js','emit','info','../../helpers/testhub/testhubHandler','hnMiT','tTpXn','Idnem','test-file-failure','test-file-success','YfIxP','postMessage','Workers\x20failed\x20to\x20exit\x20gracefully','GkKQc','6009510vYbESC','sZPkl','BAYtU','stdout','json','pipe','4kXPKLq','map','vanillaWorker','getStderr','../../helpers/test-observability/constants','jest-worker','zqZfD','push','2547411zXOxJx','IiWSh','\x20for','267141AggYWu','configuration','log','Exception\x20in\x20sending\x20worker\x20message\x20','../../helpers/performance/constants','platforms','parallelVanillaRun','EVENTS','21398597AKZGJH','failureCount','tEKCP','eUisn','platform-run-success','parallelCucumberRun','eSZhc','ZqTvX','jdlbF','stderr','platform-run-failure','then','UJpLf','IMkjw','send','MOCHA','parallelTestRun','869644GyzeBG','exitCode','getStdout','hAZkf','AUsxN','worker','ztClw','debug','148024hVWYgl','resolve','zonpF','all','kaaNB','99fnWZll','p-limit','210LOefBu','YMsCX','WeXBa','platform-run-start','config'];a46_0x1d06=function(){return _0x301a56;};return a46_0x1d06();}
|
|
1
|
+
const a46_0x47f3c5=a46_0x5511;(function(_0x34ad5f,_0x1114ee){const _0xc9afde=a46_0x5511,_0x1f46ee=_0x34ad5f();while(!![]){try{const _0x411692=-parseInt(_0xc9afde(0x1c9))/0x1+-parseInt(_0xc9afde(0x182))/0x2+-parseInt(_0xc9afde(0x19a))/0x3+parseInt(_0xc9afde(0x1e4))/0x4+parseInt(_0xc9afde(0x1d4))/0x5*(-parseInt(_0xc9afde(0x1cc))/0x6)+-parseInt(_0xc9afde(0x194))/0x7+parseInt(_0xc9afde(0x1e2))/0x8*(parseInt(_0xc9afde(0x1e3))/0x9);if(_0x411692===_0x1114ee)break;else _0x1f46ee['push'](_0x1f46ee['shift']());}catch(_0x2b1622){_0x1f46ee['push'](_0x1f46ee['shift']());}}}(a46_0x3d95,0x2a532));function a46_0x5511(_0x4c6df4,_0x26f03f){const _0x3d9548=a46_0x3d95();return a46_0x5511=function(_0x5511a9,_0x211cf2){_0x5511a9=_0x5511a9-0x182;let _0x171143=_0x3d9548[_0x5511a9];return _0x171143;},a46_0x5511(_0x4c6df4,_0x26f03f);}const Worker=require(a46_0x47f3c5(0x197))[a46_0x47f3c5(0x1bf)],Emittery=require(a46_0x47f3c5(0x1ac)),pLimit=require(a46_0x47f3c5(0x1b7)),{parentPort}=require(a46_0x47f3c5(0x1db)),util=require(a46_0x47f3c5(0x1dc)),logger=require(a46_0x47f3c5(0x1a3))['winstonLogger'],PerformanceTester=require(a46_0x47f3c5(0x1ba)),PerformanceEvents=require(a46_0x47f3c5(0x1d5))[a46_0x47f3c5(0x1b4)],{debug}=require(a46_0x47f3c5(0x1c4)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{FRAMEWORKS}=require(a46_0x47f3c5(0x198));exports[a46_0x47f3c5(0x19b)]=(_0x392d54,_0x530ffb,_0x313917)=>new Promise(async _0x3e6a30=>{const _0x29e98f=a46_0x47f3c5,_0x453f3d={'rxQAJ':'failureCount','cpVev':function(_0xa89448,_0x590703){return _0xa89448+_0x590703;},'VNLvq':_0x29e98f(0x187),'Pfhzo':_0x29e98f(0x186),'xPScd':function(_0xb323b3,_0x37db5d){return _0xb323b3(_0x37db5d);},'lsGQA':function(_0x4f2485,_0x56a2b9){return _0x4f2485(_0x56a2b9);},'TOZDC':_0x29e98f(0x1b2),'pXpTD':_0x29e98f(0x1d1),'QduUv':'worker','HgWSf':'json','QhCJo':_0x29e98f(0x1b9),'bEeud':function(_0x42100d,_0x17aee8){return _0x42100d*_0x17aee8;},'OGZNN':_0x29e98f(0x1cb),'dSqzm':_0x29e98f(0x19f),'GiVKG':function(_0x3e3ada,_0x587a74){return _0x3e3ada(_0x587a74);},'OYCiB':function(_0x34533c,_0x498d68){return _0x34533c*_0x498d68;}},_0x59a23f=_0x313917[_0x29e98f(0x1d7)],_0x260cf5={},_0x5aa8b0=await TestHubHandler[_0x29e98f(0x1cf)](FRAMEWORKS[_0x29e98f(0x190)],_0x313917),_0x2ef37c=new Worker(require[_0x29e98f(0x18c)](_0x453f3d[_0x29e98f(0x1bb)]),{'exposedMethods':[_0x453f3d['QduUv']],'forkOptions':{'serialization':_0x453f3d['HgWSf'],'stdio':_0x453f3d[_0x29e98f(0x1a5)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x453f3d[_0x29e98f(0x1df)](_0x530ffb,0x1),'enableWorkerThreads':!![]}),_0x3efaa5=new Emittery();_0x3efaa5['on'](_0x453f3d[_0x29e98f(0x1e6)],_0x5218e5=>{const _0x1b3aef=_0x29e98f;_0x260cf5[_0x5218e5[0x0]]?(_0x260cf5[_0x5218e5[0x0]][_0x453f3d['rxQAJ']]=_0x453f3d[_0x1b3aef(0x1a7)](_0x260cf5[_0x5218e5[0x0]][_0x453f3d[_0x1b3aef(0x1a2)]],_0x5218e5[0x1][_0x453f3d[_0x1b3aef(0x1a2)]]),_0x260cf5[_0x5218e5[0x0]][_0x453f3d[_0x1b3aef(0x1b5)]]=[..._0x260cf5[_0x5218e5[0x0]][_0x453f3d[_0x1b3aef(0x1b5)]],..._0x5218e5[0x1][_0x453f3d['VNLvq']]]):_0x260cf5[_0x5218e5[0x0]]={'failureCount':_0x5218e5[0x1][_0x453f3d[_0x1b3aef(0x1a2)]],'results':[..._0x5218e5[0x1][_0x453f3d['VNLvq']]]};}),_0x3efaa5['on'](_0x453f3d[_0x29e98f(0x192)],_0x39f509=>console[_0x29e98f(0x1e0)](_0x39f509[0x1]));_0x2ef37c[_0x29e98f(0x1a4)]()&&_0x2ef37c[_0x29e98f(0x1a4)]()['pipe'](process[_0x29e98f(0x19e)]);_0x2ef37c[_0x29e98f(0x189)]()&&_0x2ef37c[_0x29e98f(0x189)]()[_0x29e98f(0x1b9)](process[_0x29e98f(0x185)]);const _0x5a522a=async()=>{const _0x351aad=_0x29e98f,{forceExited:_0x40513b}=await _0x2ef37c[_0x351aad(0x1d2)]();_0x40513b&&console[_0x351aad(0x191)](_0x453f3d[_0x351aad(0x1d9)]);try{await TestHubHandler['stop']();}catch(_0x50c983){_0x453f3d[_0x351aad(0x1b0)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20'+_0x50c983);}_0x453f3d[_0x351aad(0x19d)](_0x3e6a30,_0x260cf5);},_0x22a20d=_0x453f3d['GiVKG'](pLimit,_0x453f3d[_0x29e98f(0x18e)](_0x530ffb,0x1)),_0x3eb28a=_0x134f1b=>_0x22a20d(async()=>{const _0x3ce792=_0x29e98f;await _0x3efaa5[_0x3ce792(0x1a0)](_0x453f3d[_0x3ce792(0x1c0)],_0x134f1b);const _0x47573a=_0x2ef37c[_0x3ce792(0x1ca)](_0x134f1b,_0x59a23f);try{parentPort&&_0x47573a[_0x3ce792(0x1a9)](_0x2753f9=>{const _0x11864d=_0x3ce792;try{parentPort[_0x11864d(0x199)](_0x2753f9);}catch(_0x5cbd7e){logger['debug'](_0x11864d(0x1ad)+util[_0x11864d(0x1c2)](_0x5cbd7e));}});}catch(_0x458f9f){logger[_0x3ce792(0x18a)]('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util['format'](_0x458f9f));}return _0x47573a;});PerformanceTester[_0x29e98f(0x1d2)](PerformanceEvents[_0x29e98f(0x1ce)]),Promise['all'](_0x392d54[_0x29e98f(0x1c6)](_0x35a9ac=>_0x3eb28a(_0x35a9ac)[_0x29e98f(0x1b8)](_0x43c352=>_0x3efaa5['emit'](_0x29e98f(0x1cb),[_0x35a9ac[_0x29e98f(0x195)]['platform'],_0x43c352]),_0x58e9f9=>_0x3efaa5[_0x29e98f(0x1a0)](_0x29e98f(0x19f),[_0x35a9ac,_0x58e9f9]))))[_0x29e98f(0x1b8)](_0x5a522a,_0x5a522a);}),exports['parallelCucumberRun']=(_0x203f99,_0x17f35a,_0x11ff94,_0x157c22,_0x53fe0a)=>{const _0x1241d6=a46_0x47f3c5,_0x1c184c={'CxWhJ':_0x1241d6(0x186),'DeVoE':function(_0x2ce2db,_0x43b372){return _0x2ce2db(_0x43b372);},'iAqrG':_0x1241d6(0x18b),'kkGSb':'./testWorker.js','wfzYt':_0x1241d6(0x1d3),'POvMK':_0x1241d6(0x19c),'NWSIQ':_0x1241d6(0x1b9),'WCbuO':_0x1241d6(0x184),'IRbRB':_0x1241d6(0x1af),'dPRic':function(_0x5cc03a,_0x12bb74){return _0x5cc03a(_0x12bb74);}};return new Promise(_0x559aba=>{const _0x20627b=_0x1241d6,_0x5e2329={};_0x5e2329['kddJo']=_0x1c184c[_0x20627b(0x1c5)];const _0x20c977=_0x5e2329,_0x21a136=[],_0x3a8a2a=new Worker(require[_0x20627b(0x18c)](_0x1c184c[_0x20627b(0x1e5)]),{'exposedMethods':[_0x1c184c[_0x20627b(0x1de)]],'forkOptions':{'serialization':_0x1c184c[_0x20627b(0x1b1)],'stdio':_0x1c184c[_0x20627b(0x18f)]},'numWorkers':_0x203f99[_0x20627b(0x1e1)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x2f80fd=new Emittery();_0x2f80fd['on'](_0x1c184c['WCbuO'],_0x268d0=>{const _0x1c14cb=_0x20627b;_0x21a136[_0x1c14cb(0x1aa)]([_0x268d0[0x0],_0x268d0[0x1]]);}),_0x2f80fd['on'](_0x1c184c[_0x20627b(0x1bd)],_0x3d9a24=>console[_0x20627b(0x1e0)](_0x3d9a24[0x1]));_0x3a8a2a['getStdout']()&&_0x3a8a2a[_0x20627b(0x1a4)]()['pipe'](process[_0x20627b(0x19e)]);_0x3a8a2a[_0x20627b(0x189)]()&&_0x3a8a2a[_0x20627b(0x189)]()[_0x20627b(0x1b9)](process[_0x20627b(0x185)]);const _0x34dcdb=async()=>{const _0x4158e7=_0x20627b,{forceExited:_0x110ec6}=await _0x3a8a2a[_0x4158e7(0x1d2)]();_0x110ec6&&console[_0x4158e7(0x191)](_0x1c184c[_0x4158e7(0x1a8)]),_0x1c184c[_0x4158e7(0x1ae)](_0x559aba,_0x21a136);},_0x38f94e=_0x1c184c[_0x20627b(0x1a6)](pLimit,_0x203f99['length']||0x1),_0x727ce3=(_0x17a39d,_0x484897)=>_0x38f94e(async()=>{const _0x290e6d=_0x20627b;return await _0x2f80fd['emit'](_0x20c977['kddJo'],_0x17a39d),_0x17f35a[_0x290e6d(0x18d)]=_0x11ff94[_0x290e6d(0x1c1)][_0x484897],_0x3a8a2a[_0x290e6d(0x1d3)](_0x17a39d,_0x17f35a,_0x11ff94,_0x157c22,_0x53fe0a);});Promise[_0x20627b(0x1c8)](_0x203f99[_0x20627b(0x1c6)]((_0xbc4b0a,_0xf335a5)=>_0x727ce3(_0xbc4b0a,_0xf335a5)[_0x20627b(0x1b8)](_0x46eb79=>_0x2f80fd['emit']('platform-run-success',[_0xbc4b0a,_0x46eb79]),_0x2932e1=>_0x2f80fd['emit'](_0x20627b(0x1af),[_0xbc4b0a,_0x2932e1]))))[_0x20627b(0x1b8)](_0x34dcdb,_0x34dcdb);});},exports['parallelVanillaRun']=(_0x6e8f7f,_0x248466)=>new Promise(_0x6b4aff=>{const _0xcaf2fc=a46_0x47f3c5,_0x16c2b9={'BQCbT':function(_0xa035d6,_0x33e0ed){return _0xa035d6===_0x33e0ed;},'Jnqap':function(_0x1bd9b5,_0x2e47d8){return _0x1bd9b5!==_0x2e47d8;},'cbyjP':'exit','KzKMq':_0xcaf2fc(0x186),'jfujR':function(_0x471381,_0x385ace){return _0x471381(_0x385ace);},'rTxKK':_0xcaf2fc(0x1d1),'tbUjr':_0xcaf2fc(0x1c7),'fjQgj':'json','wcuBM':_0xcaf2fc(0x1b9),'iXnhk':'test-file-success','peyVf':_0xcaf2fc(0x19f)},_0x3e8302={},_0x23db06=new Worker(require[_0xcaf2fc(0x18c)](_0x16c2b9[_0xcaf2fc(0x1bc)]),{'exposedMethods':[_0x16c2b9[_0xcaf2fc(0x188)]],'forkOptions':{'serialization':_0x16c2b9['fjQgj'],'stdio':_0x16c2b9[_0xcaf2fc(0x1b3)]},'numWorkers':_0x248466,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x45f9d1=new Emittery();_0x45f9d1['on'](_0x16c2b9[_0xcaf2fc(0x1da)],_0x62eba1=>{const _0x1282f9=_0xcaf2fc;_0x62eba1[0x0]&&logger['info'](_0x1282f9(0x196)+_0x62eba1[0x1]+_0x1282f9(0x1d8),_0x62eba1[0x0]);}),_0x45f9d1['on'](_0x16c2b9['peyVf'],_0x3393c6=>{process['exitCode']=0x1;});_0x23db06[_0xcaf2fc(0x1a4)]()&&_0x23db06[_0xcaf2fc(0x1a4)]()['pipe'](process[_0xcaf2fc(0x19e)]);_0x23db06[_0xcaf2fc(0x189)]()&&_0x23db06[_0xcaf2fc(0x189)]()[_0xcaf2fc(0x1b9)](process[_0xcaf2fc(0x185)]);const _0x4598ba=async()=>{const _0x2b777b=_0xcaf2fc,_0x22192f={'lOUTP':function(_0x3462ad,_0x2b109b){const _0xcde252=a46_0x5511;return _0x16c2b9[_0xcde252(0x1d6)](_0x3462ad,_0x2b109b);},'slUYA':function(_0x3a8a01,_0x4b171e){return _0x16c2b9['Jnqap'](_0x3a8a01,_0x4b171e);},'ihJth':_0x16c2b9[_0x2b777b(0x1dd)]};let _0x4d9a5e=0x0;const _0x460892=_0x23db06[_0x2b777b(0x1cd)][_0x2b777b(0x1be)](),_0x2f8e6c=()=>{},_0x4703c2=_0x460892[_0x2b777b(0x1c6)](async _0x35a48a=>{const _0xde2edf=_0x2b777b;_0x35a48a['send']([0x2,![]],_0x2f8e6c,_0x2f8e6c,_0x2f8e6c),_0x35a48a[_0xde2edf(0x1ab)]['on'](_0x22192f['ihJth'],_0x2b5373=>{const _0x4e751c=_0xde2edf;_0x22192f[_0x4e751c(0x1c3)](_0x4d9a5e,0x0)&&_0x22192f['slUYA'](_0x2b5373,0x0)&&(_0x4d9a5e=_0x2b5373);}),await _0x35a48a['waitForExit']();});await Promise[_0x2b777b(0x1c8)](_0x4703c2),process[_0x2b777b(0x1b6)]=_0x4d9a5e;const {forceExited:_0x5001c6}=await _0x23db06[_0x2b777b(0x1d2)]();_0x5001c6&&console['error'](_0x16c2b9[_0x2b777b(0x1a1)]),_0x16c2b9['jfujR'](_0x6b4aff,_0x3e8302);},_0x21ded1=_0x16c2b9[_0xcaf2fc(0x183)](pLimit,_0x248466),_0x568c0b=_0x4abb37=>_0x21ded1(async()=>{const _0x426454=_0xcaf2fc;return _0x23db06[_0x426454(0x1c7)](_0x4abb37);});Promise['all'](_0x6e8f7f[_0xcaf2fc(0x1c6)](_0xf91379=>_0x568c0b(_0xf91379)[_0xcaf2fc(0x1b8)](_0x368203=>_0x45f9d1[_0xcaf2fc(0x1a0)](_0xcaf2fc(0x1cb),[_0xf91379[_0xcaf2fc(0x195)][_0xcaf2fc(0x193)],_0xf91379[_0xcaf2fc(0x195)][_0xcaf2fc(0x1d0)]]),_0x1de08a=>_0x45f9d1[_0xcaf2fc(0x1a0)](_0xcaf2fc(0x19f),[_0xf91379,_0x1de08a]))))[_0xcaf2fc(0x1b8)](_0x4598ba,_0x4598ba);});function a46_0x3d95(){const _0x49572b=['CxWhJ','UNSTABLE_onCustomMessage','push','_child','emittery','Exception\x20in\x20sending\x20worker\x20message\x20','DeVoE','platform-run-failure','xPScd','POvMK','test-file-start','wcuBM','EVENTS','VNLvq','exitCode','p-limit','then','pipe','../../helpers/performance/performance-tester','pXpTD','rTxKK','IRbRB','getWorkers','Worker','TOZDC','platforms','format','lOUTP','../../helpers/test-observability/utils','iAqrG','map','vanillaWorker','all','74951sqkaJx','worker','test-file-success','650202PCdGRk','_workerPool','SDK_SETUP','launchBuild','file','./testWorker.js','end','cucumberWorker','15uAQlQB','../../helpers/performance/constants','BQCbT','config','\x20for','Pfhzo','iXnhk','worker_threads','util','cbyjP','wfzYt','bEeud','log','length','8oBOOCG','6196563rbTkis','174900IVdVPO','kkGSb','OGZNN','6612ioNUIQ','jfujR','platform-run-success','stderr','Workers\x20failed\x20to\x20exit\x20gracefully','results','tbUjr','getStderr','debug','platform-run-start','resolve','platformCaps','OYCiB','NWSIQ','MOCHA','error','dSqzm','platform','473438BEIvKm','configuration','Running\x20','jest-worker','../../helpers/test-observability/constants','postMessage','263634FmeZlZ','parallelTestRun','json','lsGQA','stdout','test-file-failure','emit','KzKMq','rxQAJ','../../helpers/logger','getStdout','QhCJo','dPRic','cpVev'];a46_0x3d95=function(){return _0x49572b;};return a46_0x3d95();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a47_0x1fe5(){const _0x117d87=['RJxsa','874108JqffQu','../launcher/launcher','run','vanilla','5137095wSjrsy','runVanillaTest','mocha','EVENTS','FqISs','sCdcJ','3151576aGNkgw','../../helpers/performance/performance-tester','7191VRWcUu','fBMGM','UnyRT','43572jhkKWI','7xrAicj','8872ZbolIY','LNjGi','runCucumberTest','uhWkZ','202539bFDkpH','formatter','stopMonitoring','DXVvy','3736734kAkHAS','configuration','startMonitoring','end','../../helpers/test-observability/utils'];a47_0x1fe5=function(){return _0x117d87;};return a47_0x1fe5();}const a47_0x51b8c5=a47_0x1000;function a47_0x1000(_0x26b16a,_0x2e18f5){const _0x1fe54a=a47_0x1fe5();return a47_0x1000=function(_0x1000da,_0x2904c8){_0x1000da=_0x1000da-0xa8;let _0x56796d=_0x1fe54a[_0x1000da];return _0x56796d;},a47_0x1000(_0x26b16a,_0x2e18f5);}(function(_0x56bd4a,_0x206c2b){const _0x573ee9=a47_0x1000,_0x325690=_0x56bd4a();while(!![]){try{const _0x15989d=-parseInt(_0x573ee9(0xbd))/0x1+-parseInt(_0x573ee9(0xa8))/0x2+parseInt(_0x573ee9(0xb7))/0x3+parseInt(_0x573ee9(0xb2))/0x4+-parseInt(_0x573ee9(0xac))/0x5+parseInt(_0x573ee9(0xc1))/0x6*(parseInt(_0x573ee9(0xb8))/0x7)+parseInt(_0x573ee9(0xb9))/0x8*(parseInt(_0x573ee9(0xb4))/0x9);if(_0x15989d===_0x206c2b)break;else _0x325690['push'](_0x325690['shift']());}catch(_0x1db4eb){_0x325690['push'](_0x325690['shift']());}}}(a47_0x1fe5,0x9d4be));const PerformanceEvents=require('../../helpers/performance/constants')[a47_0x51b8c5(0xaf)],PerformanceTester=require(a47_0x51b8c5(0xb3)),{sleep}=require(a47_0x51b8c5(0xc5));exports['runTest']=async(_0x30ea16,_0x56184d)=>{const _0x642763=a47_0x51b8c5,_0x1c1801={'RJxsa':function(_0x2bcc71,_0x7d76da){return _0x2bcc71(_0x7d76da);},'DXVvy':'../launcher/launcher','UnyRT':_0x642763(0xae),'eRDip':function(_0x25a530,_0x5d770a){return _0x25a530(_0x5d770a);}};PerformanceTester[_0x642763(0xc3)]();const _0x4d5a57=_0x1c1801[_0x642763(0xc6)](require,_0x1c1801[_0x642763(0xc0)]),_0x1e7ce9=new _0x4d5a57(_0x1c1801[_0x642763(0xb6)],_0x30ea16,_0x56184d),_0x578f42=await _0x1e7ce9['run']();return PerformanceTester[_0x642763(0xc4)](PerformanceEvents['SDK_POST_TEST']),await _0x1c1801['eRDip'](sleep,0x3e8),PerformanceTester[_0x642763(0xbf)](),_0x578f42;},exports[a47_0x51b8c5(0xbb)]=async(_0x12e4cc,_0x50773c,_0x25d008,_0x25bad9,_0x563439)=>{const _0x171370=a47_0x51b8c5,_0x565340={'uhWkZ':function(_0x4c4077,_0x418d92){return _0x4c4077(_0x418d92);},'sCdcJ':_0x171370(0xa9),'FqISs':'cucumber-js'},_0x14c51f={'capability':_0x12e4cc,..._0x50773c},_0x43613c={};_0x43613c[_0x171370(0xc2)]=_0x14c51f,_0x43613c[_0x171370(0xbe)]=_0x563439;const _0x5f3205=_0x43613c,_0x5d4211=_0x565340[_0x171370(0xbc)](require,_0x565340[_0x171370(0xb1)]),_0xaf7ffe=new _0x5d4211(_0x565340[_0x171370(0xb0)],_0x5f3205,_0x25d008,_0x25bad9);return await _0xaf7ffe[_0x171370(0xaa)]();},exports[a47_0x51b8c5(0xad)]=async _0x2f2413=>{const _0x109f9b=a47_0x51b8c5,_0x51fbbf={'fBMGM':function(_0x3933fc,_0x221982){return _0x3933fc(_0x221982);},'DBDXS':_0x109f9b(0xa9),'LNjGi':_0x109f9b(0xab)},_0xac932c=_0x51fbbf[_0x109f9b(0xb5)](require,_0x51fbbf['DBDXS']),_0x773330=new _0xac932c(_0x51fbbf[_0x109f9b(0xba)],_0x2f2413);return await _0x773330['run']();};
|