browserstack-node-sdk 1.33.4 → 1.33.6
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/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/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test.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/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.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/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-tester.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/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a39_0x1748(_0x2c8608,_0x550782){const _0x2e4fd8=a39_0x2e4f();return a39_0x1748=function(_0x174877,_0x495cd3){_0x174877=_0x174877-0x12c;let _0x44eeb0=_0x2e4fd8[_0x174877];return _0x44eeb0;},a39_0x1748(_0x2c8608,_0x550782);}function a39_0x2e4f(){const _0x2b638c=['2037vlIhhX','OJmYB','NJVju','SLJHE','length','3148244gaGWpx','TEST_SCREENSHOT','test','getScope','AIbKD','statSync','UQhco','rmGqW','GYmuV','existsSync','xZnyL','../../../helpers/helper','configureGit','hook_run','beforeEach\x20hook','passed','PSKgi','title','Aatye','zRZNl','startTime','file','SaBvd','120CMDLQt','../../../helpers/testhub/utils','status','BEFORE_EACH','uiKNe','PEtDj','LdWyn','ZAPwl','AFTER_ALL','depth','naQmn','HaGnh','retry','WBCwR','reportLogs','endSession','parent','getTestUUID','aMekc','XdiqI','needToReportStep','JHUCL','_gitConfigPath','../../../helpers/performance-tester','util','logs','finishedAt','337509sJGdSR','FDoyB','VKOcI','pending','dRPZD','getTime','expanded','errors','base64','MyReporter','TEST_STEP','27343129JdunCj','split','sendTestRunEvent','options','sFaqK','RwqLb','printsToStdio','join','indexOf','yreYA','category','startedAt','getTestRunIdentifier','EVPmv','path','Error\x20in\x20calculating\x20performance:\x20','doIyw','toISOString','ioXXn','Expected\x20to\x20fail,\x20but\x20passed.','DZVoX','unknown','18rLEwXV','PLAYWRIGHT','HookRunFinished','TestRunFinished','../../../helpers/test-observability/utils','WxBXJ','root','1768605ShffkT','2034akRipE','timedOut','_testHooksMap','../../../helpers/test-observability/error-handler','push','pqRwA','cBQae','dZnhH','onBegin','3453821qwjNCh','hSmAO','eAkin','setup','getHookType','beforeAll\x20hook','test_run_uuid','tRyaG','startsWith','name','Hook\x20Finished\x20with\x20unique\x20id\x20','BROWSERSTACK_LOG_LEVEL','qyAMU','getStepsAndLogs','attachments','ZpFuC','location','steps','getStepIdentifier','IoXYB','UPYhC','OKCNB','Gesab','eVibx','_projectId','sendHookRunEvent','uploadEventData','\x20for\x20','event_type','iuFwq','meta','test_run','exports','LrDmn','njusk','NmBso','../../../helpers/test-observability/sessionHandler','failed','PDVWj','bZPfj','screenshot','stack','error','Bflvu','QYblr','RTQEm','splice','wjjye','fsLPD','shutdown','_bs_hookIdentifier','env','message','koLNl','object','After\x20Hooks','expectedStatus','vtjHD','skipped','ANyEa','hook','uuid','rBcJm','dFvKq','addTestUIDAndReportLog','setStepIdentifier','getTestIdentifier','_tests','map','afterAll\x20hook','dITen','startMonitoring','err','cVvkB','phKOv','BEFORE_ALL','START_TIME','onStepEnd','_gitConfigured','RAasU','onTestEnd','OsFuh','filter','10IqUIWS','failure_reason','LogCreated','titlePath','performance-report-reporter.json','KYBpo','FOfNt','./pwUtils','HookRunStarted','backtrace','onTestBegin','afterEach\x20hook','fUgxF','sendSessionDetails','failure','hook_run_uuid','spRqB','cwd','result','MKgDa','Hook\x20Started\x20with\x20unique\x20id\x20','xbYnA','1983235wICCUu','tWhLB','oNNzE','../../../helpers/testhub/testhubHandler','\x20is\x20triggered\x20for\x20test\x20','EHpfj','\x20is\x20triggered','relative','toString','getHierarchy','failure_type','../../../helpers/test-observability/requestQueueHandler','BROWSERSTACK_O11Y_PERF_MEASUREMENT','AHdcZ','Before\x20Hooks','duration','EcUrL','onStepBegin','logLevel','otGah'];a39_0x2e4f=function(){return _0x2b638c;};return a39_0x2e4f();}const a39_0x40f5df=a39_0x1748;(function(_0xe6ae3a,_0x66413e){const _0x8426f9=a39_0x1748,_0x4d944b=_0xe6ae3a();while(!![]){try{const _0x108dd4=-parseInt(_0x8426f9(0x177))/0x1+parseInt(_0x8426f9(0x178))/0x2*(-parseInt(_0x8426f9(0x1fe))/0x3)+-parseInt(_0x8426f9(0x203))/0x4+-parseInt(_0x8426f9(0x1ea))/0x5+-parseInt(_0x8426f9(0x170))/0x6*(-parseInt(_0x8426f9(0x181))/0x7)+parseInt(_0x8426f9(0x134))/0x8*(parseInt(_0x8426f9(0x14f))/0x9)+-parseInt(_0x8426f9(0x1d4))/0xa*(-parseInt(_0x8426f9(0x15a))/0xb);if(_0x108dd4===_0x66413e)break;else _0x4d944b['push'](_0x4d944b['shift']());}catch(_0x1fb40b){_0x4d944b['push'](_0x4d944b['shift']());}}}(a39_0x2e4f,0xd8367));const RequestQueueHandler=require(a39_0x40f5df(0x1f5)),{calculatePerformance,getTagsFromTitle,getFailureData}=require(a39_0x40f5df(0x1db)),{v4:uuidv4}=require(a39_0x40f5df(0x1be)),path=require(a39_0x40f5df(0x168)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a39_0x40f5df(0x174)),{getGitMetaData,setLogLevel}=require(a39_0x40f5df(0x20e)),TestDetails=require('./test-details'),fs=require('fs'),util=require(a39_0x40f5df(0x14c)),{o11yClassErrorHandler}=require(a39_0x40f5df(0x17b)),PerformanceTester=require(a39_0x40f5df(0x14b)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a39_0x40f5df(0x1a5)),{appendTesthubParams}=require(a39_0x40f5df(0x135)),TestHubHandler=require(a39_0x40f5df(0x1ed));class MyReporter{constructor(_0x2e512a){const _0x4c0d1f=a39_0x40f5df,_0xecdaea={'RwqLb':'4|5|1|6|0|3|2','PEtDj':function(_0x18a62f,_0x257980,_0x1e36e8,_0x578c5c){return _0x18a62f(_0x257980,_0x1e36e8,_0x578c5c);},'naQmn':_0x4c0d1f(0x1d8)},_0x2c1ebd=_0xecdaea[_0x4c0d1f(0x15f)][_0x4c0d1f(0x15b)]('|');let _0x2355b4=0x0;while(!![]){switch(_0x2c1ebd[_0x2355b4++]){case'0':this[_0x4c0d1f(0x15d)]=_0x2e512a;continue;case'1':this[_0x4c0d1f(0x1c4)]={};continue;case'2':this[_0x4c0d1f(0x14a)]=null;continue;case'3':this[_0x4c0d1f(0x1cf)]=![];continue;case'4':const _0x49420c={};_0x49420c[_0x4c0d1f(0x1fc)]=process[_0x4c0d1f(0x1b4)][_0x4c0d1f(0x18c)],_0xecdaea[_0x4c0d1f(0x139)](setLogLevel,_0x49420c,new Map(),new Map());continue;case'5':process[_0x4c0d1f(0x1b4)][_0x4c0d1f(0x1f6)]&&(PerformanceTester[_0x4c0d1f(0x1c8)](_0xecdaea[_0x4c0d1f(0x13e)]),process[_0x4c0d1f(0x1b4)][_0x4c0d1f(0x1cd)]=new Date()['toISOString']());continue;case'6':this[_0x4c0d1f(0x17a)]={};continue;}break;}}async[a39_0x40f5df(0x180)](){const _0x56cbbd=a39_0x40f5df;TestDetails[_0x56cbbd(0x184)](),await this[_0x56cbbd(0x20f)]();}async['onTestBegin'](_0x2bac6d,_0x19dfe6){const _0x46ab90=a39_0x40f5df,_0x4bbf05={'uiKNe':function(_0xaa3119,_0x3ec5cc){return _0xaa3119(_0x3ec5cc);},'EBemZ':'TestRunStarted'},_0x1dc6f4=this['getTestIdentifier'](_0x2bac6d);this[_0x46ab90(0x1c4)][_0x1dc6f4]={'uuid':TestDetails[_0x46ab90(0x145)](this['getTestRunIdentifier'](_0x2bac6d,_0x19dfe6['retry'])),'startedAt':_0x19dfe6[_0x46ab90(0x131)]},_0x4bbf05[_0x46ab90(0x138)](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x1dc6f4),await this[_0x46ab90(0x15c)](_0x2bac6d,_0x4bbf05['EBemZ'],_0x19dfe6);}async[a39_0x40f5df(0x1fb)](_0x3641f3,_0x850faa,_0x19e791){const _0x1a7054=a39_0x40f5df,_0x1079a1={'TsazU':function(_0x5b862f,_0x2156fe){return _0x5b862f(_0x2156fe);},'LrDmn':_0x1a7054(0x1dc)};if(!this[_0x1a7054(0x148)](_0x19e791,_0x3641f3))return;const _0x447c40=this[_0x1a7054(0x1c2)](_0x3641f3,_0x19e791);this[_0x1a7054(0x1c4)][_0x447c40]={'uuid':TestDetails[_0x1a7054(0x145)](_0x447c40),'startedAt':_0x19e791['startTime'][_0x1a7054(0x16b)]()};const _0x373df1=this[_0x1a7054(0x166)](_0x3641f3,_0x850faa['retry']);!this[_0x1a7054(0x17a)][_0x373df1]&&(this[_0x1a7054(0x17a)][_0x373df1]=[]),this[_0x1a7054(0x17a)][_0x373df1]['push'](this['_tests'][_0x447c40][_0x1a7054(0x1be)]),_0x1079a1['TsazU'](trace,_0x1a7054(0x1e8)+_0x447c40+_0x1a7054(0x1ee)+_0x373df1),await this['sendHookRunEvent'](_0x3641f3,_0x19e791,_0x1079a1[_0x1a7054(0x1a2)],_0x850faa);}async[a39_0x40f5df(0x1ce)](_0x1ad580,_0x4d334f,_0x5392c7){const _0x467edb=a39_0x40f5df,_0x3571c1={'PDVWj':function(_0x2d2963,_0x310913){return _0x2d2963+_0x310913;},'DZVoX':function(_0x39741b,_0x3fabf7){return _0x39741b(_0x3fabf7);},'sFaqK':_0x467edb(0x172)};if(!this[_0x467edb(0x148)](_0x5392c7,_0x1ad580))return;const _0x29cbd1=this[_0x467edb(0x193)](_0x1ad580,_0x5392c7);this[_0x467edb(0x1c4)][_0x29cbd1]={...this[_0x467edb(0x1c4)][_0x29cbd1]||{},'finishedAt':new Date(_0x3571c1[_0x467edb(0x1a7)](_0x5392c7[_0x467edb(0x131)][_0x467edb(0x154)](),_0x5392c7[_0x467edb(0x1f9)]))},_0x3571c1[_0x467edb(0x16e)](trace,_0x467edb(0x18b)+_0x29cbd1+_0x467edb(0x1f0)),await this['sendHookRunEvent'](_0x1ad580,_0x5392c7,_0x3571c1[_0x467edb(0x15e)],_0x4d334f);}async[a39_0x40f5df(0x1d1)](_0x579c11,_0x36ee66){const _0xcc0a37=a39_0x40f5df,_0x493fe7={'DGeeh':function(_0x40a6db,_0xdb0526){return _0x40a6db===_0xdb0526;},'Gesab':_0xcc0a37(0x1a9),'aXwwd':_0xcc0a37(0x204),'EcUrL':_0xcc0a37(0x157),'MPMNU':function(_0x19a849,_0x305611){return _0x19a849(_0x305611);},'tTyoq':_0xcc0a37(0x173),'fsLPD':function(_0x23c1e2,_0x2165f7){return _0x23c1e2>_0x2165f7;}},_0x38be95=this[_0xcc0a37(0x1c3)](_0x579c11),_0x38f113=TestDetails[_0xcc0a37(0x145)](this[_0xcc0a37(0x166)](_0x579c11,_0x36ee66[_0xcc0a37(0x140)]));this[_0xcc0a37(0x1c4)][_0x38be95]={...this['_tests'][_0x38be95]||{},'finishedAt':new Date()[_0xcc0a37(0x16b)]()},_0x493fe7['MPMNU'](trace,'Test\x20Finished\x20with\x20unique\x20id\x20'+_0x38be95),await this[_0xcc0a37(0x15c)](_0x579c11,_0x493fe7['tTyoq'],_0x36ee66);const _0x325899=[];_0x36ee66[_0xcc0a37(0x18f)]&&_0x36ee66[_0xcc0a37(0x18f)][_0xcc0a37(0x1c5)](_0x509397=>{const _0x2115f7=_0xcc0a37;if(_0x493fe7['DGeeh'](_0x509397[_0x2115f7(0x18a)],_0x493fe7[_0x2115f7(0x197)])){if(!fs[_0x2115f7(0x20c)](_0x509397[_0x2115f7(0x168)]))return;_0x325899[_0x2115f7(0x17c)]({'test_run_uuid':_0x38f113,'timestamp':fs[_0x2115f7(0x208)](_0x509397[_0x2115f7(0x168)])['mtime'],'kind':_0x493fe7['aXwwd'],'message':fs['readFileSync'](_0x509397[_0x2115f7(0x168)],{'encoding':_0x493fe7[_0x2115f7(0x1fa)]})});}}),_0x493fe7[_0xcc0a37(0x1b1)](_0x325899['length'],0x0)&&await MyReporter[_0xcc0a37(0x142)](_0x325899);}async['endSession'](){const _0xaef82d=a39_0x40f5df;await RequestQueueHandler['getInstance']()[_0xaef82d(0x1b2)](),TestDetails[_0xaef82d(0x1b2)]();}async['onEnd'](_0x4df76a){const _0x1f2888=a39_0x40f5df,_0x270613={'dFvKq':function(_0x9ebf3a){return _0x9ebf3a();},'WnNns':function(_0x275943,_0xc4f6c0){return _0x275943(_0xc4f6c0);}};await this[_0x1f2888(0x143)](),_0x270613[_0x1f2888(0x1c0)](printBuildLink);try{process[_0x1f2888(0x1b4)][_0x1f2888(0x1f6)]&&await _0x270613[_0x1f2888(0x1c0)](calculatePerformance);}catch(_0x3835e1){_0x270613['WnNns'](debug,_0x1f2888(0x169)+_0x3835e1['toString']());}}static async[a39_0x40f5df(0x1c1)](_0x2f4e7f,_0x513303){const _0x2263e0=a39_0x40f5df;_0x513303['test_run_uuid']=TestDetails[_0x2263e0(0x145)](_0x2f4e7f),await this[_0x2263e0(0x142)]([_0x513303]);}static async['reportLogs'](_0x4908ab){const _0x869cae=a39_0x40f5df,_0x2f36fd={};_0x2f36fd[_0x869cae(0x1a3)]=_0x869cae(0x1d6);const _0x58153a=_0x2f36fd,_0x86b0bd={};_0x86b0bd[_0x869cae(0x19d)]=_0x58153a[_0x869cae(0x1a3)],_0x86b0bd[_0x869cae(0x14d)]=_0x4908ab,await SessionHandler[_0x869cae(0x19b)](_0x86b0bd);}async[a39_0x40f5df(0x19a)](_0x3f26f4,_0x198aaf,_0x42d855,_0x5c3661){const _0x2fc2f3=a39_0x40f5df,_0x4e8f05={'NQWNy':'hook','dRPZD':'javascript','UQhco':_0x2fc2f3(0x152),'bZPfj':function(_0x558b8f,_0x158801){return _0x558b8f>=_0x158801;},'IoXYB':function(_0x1140b6,_0x52ea31){return _0x1140b6===_0x52ea31;},'JHUCL':_0x2fc2f3(0x172),'tRyaG':function(_0x29242e,_0x10c51a){return _0x29242e>_0x10c51a;},'EEddl':_0x2fc2f3(0x1a6),'EHpfj':function(_0x30ceaf,_0x37fd51){return _0x30ceaf(_0x37fd51);},'GYmuV':function(_0x49633e,_0x3d4c51,_0x278584){return _0x49633e(_0x3d4c51,_0x278584);},'OsFuh':_0x2fc2f3(0x1c9),'hSmAO':_0x2fc2f3(0x12c)},_0x150015=this[_0x2fc2f3(0x193)](_0x3f26f4,_0x198aaf),_0xe063fe=this[_0x2fc2f3(0x1c4)][_0x150015],_0x777b39={'uuid':_0xe063fe['uuid'],'type':_0x4e8f05['NQWNy'],'hook_type':this[_0x2fc2f3(0x185)](_0x198aaf['title']),'name':_0x198aaf['title'],'scope':this['getScope'](_0x198aaf),'scopes':this[_0x2fc2f3(0x1f3)](_0x3f26f4),'body':{'lang':_0x4e8f05[_0x2fc2f3(0x153)],'code':null},'identifier':_0x150015,'file_name':path['relative'](process[_0x2fc2f3(0x1e5)](),_0x3f26f4[_0x2fc2f3(0x191)]['file']),'location':path['relative'](process[_0x2fc2f3(0x1e5)](),_0x3f26f4[_0x2fc2f3(0x191)][_0x2fc2f3(0x132)]),'result':_0x4e8f05[_0x2fc2f3(0x209)],'duration_in_ms':_0x4e8f05[_0x2fc2f3(0x1a8)](_0x198aaf[_0x2fc2f3(0x1f9)],0x0)?_0x198aaf[_0x2fc2f3(0x1f9)]:undefined,'vc_filepath':this[_0x2fc2f3(0x14a)]&&_0x3f26f4['location'][_0x2fc2f3(0x132)]?path[_0x2fc2f3(0x1f1)](this[_0x2fc2f3(0x14a)],_0x3f26f4[_0x2fc2f3(0x191)]['file']):undefined,'started_at':_0xe063fe[_0x2fc2f3(0x165)],'finished_at':_0xe063fe[_0x2fc2f3(0x14e)],'framework':FRAMEWORKS[_0x2fc2f3(0x171)]};if(_0x4e8f05[_0x2fc2f3(0x194)](_0x42d855,_0x4e8f05[_0x2fc2f3(0x149)])){const {steps:_0x476ab4,logs:_0x411cf0}=this[_0x2fc2f3(0x18e)](_0x198aaf[_0x2fc2f3(0x192)],_0xe063fe[_0x2fc2f3(0x1be)],_0x4e8f05['NQWNy']);_0x411cf0&&_0x4e8f05[_0x2fc2f3(0x188)](_0x411cf0[_0x2fc2f3(0x202)],0x0)&&await MyReporter[_0x2fc2f3(0x142)](_0x411cf0);const _0x42c5d3={};_0x42c5d3[_0x2fc2f3(0x192)]=_0x476ab4,_0x777b39[_0x2fc2f3(0x19f)]=_0x42c5d3;if(_0x198aaf['error']){_0x777b39['result']=_0x4e8f05['EEddl'],_0x777b39[_0x2fc2f3(0x1d5)]=_0x4e8f05[_0x2fc2f3(0x1ef)](removeAnsiColors,_0x198aaf[_0x2fc2f3(0x1ab)][_0x2fc2f3(0x1b5)]),_0x777b39[_0x2fc2f3(0x1f4)]=_0x4e8f05[_0x2fc2f3(0x1ef)](getFailureType,_0x198aaf[_0x2fc2f3(0x1ab)][_0x2fc2f3(0x1b5)]);const _0x2083d4=_0x4e8f05[_0x2fc2f3(0x20b)](failureData,_0x198aaf[_0x2fc2f3(0x1ab)],_0x4e8f05[_0x2fc2f3(0x1d2)]);if(_0x2083d4&&_0x4e8f05[_0x2fc2f3(0x194)](_0x2083d4[_0x2fc2f3(0x202)],0x0)){const _0x3bfa7e={};_0x3bfa7e[_0x2fc2f3(0x1dd)]=[_0x777b39[_0x2fc2f3(0x1d5)]],_0x3bfa7e[_0x2fc2f3(0x155)]=[],_0x2083d4[_0x2fc2f3(0x17c)](_0x3bfa7e);}_0x777b39[_0x2fc2f3(0x1e2)]=_0x2083d4;}else _0x777b39[_0x2fc2f3(0x1e6)]=_0x4e8f05[_0x2fc2f3(0x182)];}const _0x521431={};_0x521431['event_type']=_0x42d855,_0x521431[_0x2fc2f3(0x210)]=_0x777b39;const _0x5c678b=_0x521431;await SessionHandler[_0x2fc2f3(0x19b)](_0x5c678b);}[a39_0x40f5df(0x18e)](_0x25568e,_0x5b5e32,_0x50af78){const _0x29f582=a39_0x40f5df,_0x13c476={'fUgxF':function(_0x241bb4,_0x4c6bdb){return _0x241bb4===_0x4c6bdb;},'SCTqK':_0x29f582(0x1bd),'xbYnA':_0x29f582(0x1b8),'OJmYB':_0x29f582(0x1f8),'FDoyB':function(_0x54bd0f,_0x2f992d){return _0x54bd0f===_0x2f992d;},'rBcJm':'test','qyAMU':_0x29f582(0x187),'tWhLB':_0x29f582(0x1e3),'efsqI':_0x29f582(0x159),'NmBso':_0x29f582(0x1a6),'HaGnh':_0x29f582(0x12c),'dITen':function(_0x15a969,_0x4c14e0){return _0x15a969(_0x4c14e0);},'koLNl':function(_0x44b580){return _0x44b580();},'LdWyn':function(_0x390b3d,_0x6ab8e8){return _0x390b3d(_0x6ab8e8);},'eVibx':function(_0x155e9f,_0x51cc3f,_0x597a7e){return _0x155e9f(_0x51cc3f,_0x597a7e);}},_0x32334e=[],_0x45cfb2=[],_0x282b7f=_0x25568e[_0x29f582(0x1d3)](_0x247ffc=>{const _0x5f2e51=_0x29f582;if(_0x13c476[_0x5f2e51(0x1e0)](_0x247ffc[_0x5f2e51(0x164)],_0x13c476['SCTqK'])&&(_0x13c476[_0x5f2e51(0x1e0)](_0x247ffc[_0x5f2e51(0x12e)],_0x13c476[_0x5f2e51(0x1e9)])||_0x13c476[_0x5f2e51(0x1e0)](_0x247ffc[_0x5f2e51(0x12e)],_0x13c476[_0x5f2e51(0x1ff)])))return![];return!![];}),_0x13923b=(_0x53c9ce,_0x1c6245=![])=>{const _0x376b90=_0x29f582;if(_0x13c476[_0x376b90(0x150)](_0x53c9ce['steps'][_0x376b90(0x202)],0x0)){const _0x2309cb=_0x13c476['FDoyB'](_0x50af78,_0x13c476[_0x376b90(0x1bf)])?_0x13c476[_0x376b90(0x18d)]:_0x13c476[_0x376b90(0x1eb)];_0x45cfb2[_0x376b90(0x17c)]({'kind':_0x13c476['efsqI'],[_0x2309cb]:_0x5b5e32,'message':_0x53c9ce[_0x376b90(0x12e)],'timestamp':_0x53c9ce['startTime'][_0x376b90(0x16b)](),'level':_0x53c9ce['error']?_0x13c476[_0x376b90(0x1a4)]:_0x13c476[_0x376b90(0x13f)],'duration':_0x53c9ce['duration'],'failure':_0x53c9ce[_0x376b90(0x1ab)]&&_0x53c9ce[_0x376b90(0x1ab)][_0x376b90(0x1b5)]&&_0x13c476[_0x376b90(0x1c7)](removeAnsiColors,_0x53c9ce[_0x376b90(0x1ab)][_0x376b90(0x1b5)]),'failure_type':_0x13c476['dITen'](getFailureType,_0x53c9ce['error']&&_0x53c9ce[_0x376b90(0x1ab)][_0x376b90(0x1b5)])});}else{!_0x1c6245&&_0x32334e['push']({'id':_0x13c476[_0x376b90(0x1b6)](uuidv4),'text':_0x53c9ce[_0x376b90(0x12e)],'keyword':undefined,'started_at':_0x53c9ce[_0x376b90(0x131)][_0x376b90(0x16b)](),'duration':_0x53c9ce[_0x376b90(0x1f9)],'result':_0x53c9ce[_0x376b90(0x1ab)]?_0x13c476['NmBso']:_0x13c476[_0x376b90(0x13f)],'failure':_0x53c9ce[_0x376b90(0x1ab)]&&_0x53c9ce['error'][_0x376b90(0x1b5)]&&_0x13c476[_0x376b90(0x1c7)](removeAnsiColors,_0x53c9ce[_0x376b90(0x1ab)][_0x376b90(0x1b5)]),'failure_type':_0x13c476[_0x376b90(0x13a)](getFailureType,_0x53c9ce[_0x376b90(0x1ab)]&&_0x53c9ce[_0x376b90(0x1ab)][_0x376b90(0x1b5)])});for(const _0x2c05a5 of _0x53c9ce[_0x376b90(0x192)]){_0x13c476[_0x376b90(0x198)](_0x13923b,_0x2c05a5,!![]);}}};for(const _0x5f3b6c of _0x282b7f){_0x13c476['eVibx'](_0x13923b,_0x5f3b6c,![]);}const _0x3b18a4={};return _0x3b18a4[_0x29f582(0x192)]=_0x32334e,_0x3b18a4[_0x29f582(0x14d)]=_0x45cfb2,_0x3b18a4;}async[a39_0x40f5df(0x15c)](_0x533624,_0x4793e1,_0x33ae0e){const _0x4e110f=a39_0x40f5df,_0x38f074={'RAasU':_0x4e110f(0x205),'NJVju':'javascript','ZpFuC':_0x4e110f(0x152),'SaBvd':function(_0x1f34db,_0x41829b){return _0x1f34db(_0x41829b);},'VKOcI':function(_0x137486,_0x1b4c11,_0x5703d4,_0x51333b,_0x22d188){return _0x137486(_0x1b4c11,_0x5703d4,_0x51333b,_0x22d188);},'wjjye':function(_0x1149bf,_0x30d6e5){return _0x1149bf>_0x30d6e5;},'ioXXn':function(_0x1b1f17,_0x1f608d){return _0x1b1f17-_0x1f608d;},'ANyEa':function(_0x1b31db,_0x49970c){return _0x1b31db===_0x49970c;},'RTQEm':_0x4e110f(0x173),'DKLvo':function(_0x5ee757,_0x3b1627){return _0x5ee757===_0x3b1627;},'AIbKD':function(_0x23f420,_0x4166f4){return _0x23f420===_0x4166f4;},'XdiqI':_0x4e110f(0x1bb),'ZAPwl':_0x4e110f(0x12c),'iuFwq':_0x4e110f(0x1a6),'QYblr':function(_0x503e56,_0x3adfae){return _0x503e56===_0x3adfae;},'MKgDa':_0x4e110f(0x179),'FOfNt':_0x4e110f(0x16d),'aMekc':function(_0x33198e,_0x31c433){return _0x33198e(_0x31c433);},'WBCwR':function(_0x59a63f,_0x53a577,_0x49eabc){return _0x59a63f(_0x53a577,_0x49eabc);}},_0x3144ea=this[_0x4e110f(0x1c3)](_0x533624),_0x269746=this[_0x4e110f(0x206)](_0x533624),_0x324121=this[_0x4e110f(0x1c4)][_0x3144ea],_0x4110f9=path[_0x4e110f(0x1f1)](process[_0x4e110f(0x1e5)](),_0x533624[_0x4e110f(0x191)][_0x4e110f(0x132)]);await this[_0x4e110f(0x20f)]();const _0x214a1b={'uuid':_0x324121[_0x4e110f(0x1be)],'type':_0x38f074[_0x4e110f(0x1d0)],'name':_0x533624[_0x4e110f(0x12e)],'body':{'lang':_0x38f074[_0x4e110f(0x200)],'code':_0x533624['fn'][_0x4e110f(0x1f2)]()},'scope':_0x269746,'scopes':this['getHierarchy'](_0x533624),'identifier':_0x3144ea,'file_name':_0x4110f9,'location':_0x4110f9,'result':_0x38f074[_0x4e110f(0x190)],'duration_in_ms':_0x33ae0e&&_0x33ae0e[_0x4e110f(0x1f9)]?_0x33ae0e[_0x4e110f(0x1f9)]:null,'vc_filepath':this[_0x4e110f(0x14a)]&&_0x533624[_0x4e110f(0x191)][_0x4e110f(0x132)]?path[_0x4e110f(0x1f1)](this[_0x4e110f(0x14a)],_0x533624[_0x4e110f(0x191)][_0x4e110f(0x132)]):undefined,'started_at':_0x324121[_0x4e110f(0x165)],'finished_at':_0x324121[_0x4e110f(0x14e)],'framework':FRAMEWORKS[_0x4e110f(0x171)],'customRerunParam':{'rerun_name':_0x533624[_0x4e110f(0x1d7)]()[_0x4e110f(0x161)]('\x20')},'tags':_0x38f074['SaBvd'](getTagsFromTitle,_0x533624[_0x4e110f(0x12e)])};_0x38f074[_0x4e110f(0x151)](appendTesthubParams,_0x214a1b,_0x4793e1,_0x533624,FRAMEWORKS[_0x4e110f(0x171)]);_0x33ae0e&&_0x38f074[_0x4e110f(0x1b0)](_0x33ae0e[_0x4e110f(0x140)],0x0)&&(_0x214a1b['retry_of']=TestDetails[_0x4e110f(0x145)](this[_0x4e110f(0x166)](_0x533624,_0x38f074[_0x4e110f(0x16c)](_0x33ae0e[_0x4e110f(0x140)],0x1))));if(_0x38f074[_0x4e110f(0x1bc)](_0x4793e1,_0x38f074[_0x4e110f(0x1ae)])){_0x214a1b[_0x4e110f(0x1e6)]=_0x33ae0e[_0x4e110f(0x136)];if(_0x38f074['DKLvo'](_0x33ae0e[_0x4e110f(0x136)],_0x533624['expectedStatus']))_0x214a1b['result']=_0x38f074[_0x4e110f(0x207)](_0x33ae0e[_0x4e110f(0x136)],_0x38f074[_0x4e110f(0x147)])?_0x38f074['XdiqI']:_0x38f074[_0x4e110f(0x13b)];else{(_0x38f074[_0x4e110f(0x1bc)](_0x214a1b['result'],_0x38f074[_0x4e110f(0x13b)])||_0x38f074[_0x4e110f(0x1bc)](_0x214a1b['result'],_0x38f074['iuFwq'])||_0x38f074[_0x4e110f(0x1ad)](_0x214a1b[_0x4e110f(0x1e6)],_0x38f074[_0x4e110f(0x1e7)]))&&(_0x214a1b[_0x4e110f(0x1e6)]=_0x38f074[_0x4e110f(0x19e)]);if(_0x38f074[_0x4e110f(0x207)](_0x33ae0e['status'],_0x38f074[_0x4e110f(0x13b)])&&_0x38f074['AIbKD'](_0x533624[_0x4e110f(0x1b9)],_0x38f074[_0x4e110f(0x19e)])){const _0x238806={};_0x238806[_0x4e110f(0x1b5)]=_0x38f074['FOfNt'],_0x238806[_0x4e110f(0x1aa)]=_0x38f074[_0x4e110f(0x1da)],_0x33ae0e['error']=_0x238806,_0x33ae0e['errors']=[_0x33ae0e[_0x4e110f(0x1ab)]];}}const _0xc63edd=this[_0x4e110f(0x166)](_0x533624,_0x33ae0e[_0x4e110f(0x140)]);_0x214a1b['hooks']=this[_0x4e110f(0x17a)][_0xc63edd];const {steps:_0x3299ef,logs:_0x3f328f}=this[_0x4e110f(0x18e)](_0x33ae0e['steps'],_0x324121[_0x4e110f(0x1be)],_0x38f074['RAasU']);await MyReporter[_0x4e110f(0x142)](_0x3f328f);const _0x16961={};_0x16961[_0x4e110f(0x192)]=_0x3299ef,_0x214a1b[_0x4e110f(0x19f)]=_0x16961;if(_0x33ae0e[_0x4e110f(0x1ab)]){_0x214a1b[_0x4e110f(0x1d5)]=_0x38f074[_0x4e110f(0x146)](removeAnsiColors,_0x33ae0e[_0x4e110f(0x1ab)][_0x4e110f(0x1b5)]),_0x214a1b[_0x4e110f(0x1f4)]=_0x38f074[_0x4e110f(0x133)](getFailureType,_0x33ae0e[_0x4e110f(0x1ab)][_0x4e110f(0x1b5)]);const _0x4b8634={};_0x4b8634[_0x4e110f(0x187)]=_0x324121[_0x4e110f(0x1be)];const {failureData:_0x5830f4,logs:_0x45d03c}=_0x38f074[_0x4e110f(0x141)](getFailureData,_0x33ae0e[_0x4e110f(0x156)],_0x4b8634);if(_0x5830f4&&_0x38f074[_0x4e110f(0x1ad)](_0x5830f4[_0x4e110f(0x202)],0x0)){const _0x54b14c={};_0x54b14c[_0x4e110f(0x1dd)]=[_0x214a1b['failure_reason']],_0x54b14c[_0x4e110f(0x155)]=[],_0x5830f4[_0x4e110f(0x17c)](_0x54b14c);}_0x214a1b[_0x4e110f(0x1e2)]=_0x5830f4,_0x45d03c&&_0x38f074[_0x4e110f(0x1b0)](_0x45d03c[_0x4e110f(0x202)],0x0)&&await MyReporter[_0x4e110f(0x142)](_0x45d03c);}}const _0x469074={};_0x469074[_0x4e110f(0x19d)]=_0x4793e1,_0x469074[_0x4e110f(0x1a0)]=_0x214a1b;const _0x30bcee=_0x469074;await SessionHandler['uploadEventData'](_0x30bcee);}static async['sendSessionDetails'](_0x36b738,_0x3f5904){const _0x1e1e75=a39_0x40f5df,_0x16debb={'pqRwA':function(_0xef758d,_0x75ee4c){return _0xef758d(_0x75ee4c);},'EVPmv':'CBTSessionCreated'},_0x30d1fc={'uuid':TestDetails[_0x1e1e75(0x145)](_0x36b738),'integrations':_0x3f5904},_0x47bec4={};_0x47bec4[_0x1e1e75(0x13d)]=null,_0x16debb[_0x1e1e75(0x17d)](debug,'Sending\x20session\x20details\x20for\x20'+_0x36b738+',\x20'+util['inspect'](_0x3f5904,_0x47bec4));const _0x220575={};_0x220575['event_type']=_0x16debb[_0x1e1e75(0x167)],_0x220575[_0x1e1e75(0x1a0)]=_0x30d1fc,await SessionHandler[_0x1e1e75(0x19b)](_0x220575);}async[a39_0x40f5df(0x20f)](){const _0x1eccab=a39_0x40f5df,_0x4d226e={'KYBpo':function(_0x386b13){return _0x386b13();}};if(this[_0x1eccab(0x1cf)])return;const _0x388087=await _0x4d226e[_0x1eccab(0x1d9)](getGitMetaData);_0x388087&&(this['_gitConfigPath']=_0x388087[_0x1eccab(0x176)]),this[_0x1eccab(0x1cf)]=!![];}[a39_0x40f5df(0x1f3)](_0x2f5718){const _0x3be990=a39_0x40f5df,_0x11ae8a={};_0x11ae8a[_0x3be990(0x201)]=function(_0x384efb,_0x2820ae){return _0x384efb!==_0x2820ae;};const _0xa419=_0x11ae8a,_0x279fd3=[];if(_0x2f5718&&_0x2f5718['parent']){let _0x309bab=_0x2f5718[_0x3be990(0x144)];while(_0x309bab&&_0xa419['SLJHE'](_0x309bab['title'],'')){_0x279fd3[_0x3be990(0x17c)](_0x309bab[_0x3be990(0x12e)]),_0x309bab=_0x309bab['parent'];}}return _0x279fd3['reverse']()[_0x3be990(0x1af)](0x0,0x2),_0x279fd3;}[a39_0x40f5df(0x148)](_0x4a07c9){const _0xca7768=a39_0x40f5df,_0x311fbe={};_0x311fbe[_0xca7768(0x20d)]=function(_0x995a70,_0x466f9d){return _0x995a70!==_0x466f9d;},_0x311fbe[_0xca7768(0x175)]=_0xca7768(0x1bd),_0x311fbe['eFCch']=function(_0x44675e,_0x125d79){return _0x44675e===_0x125d79;},_0x311fbe[_0xca7768(0x12d)]=_0xca7768(0x211),_0x311fbe['eAkin']=_0xca7768(0x186),_0x311fbe[_0xca7768(0x1ca)]=_0xca7768(0x1c6),_0x311fbe['Aatye']=_0xca7768(0x1df);const _0x558adc=_0x311fbe;if(_0x558adc[_0xca7768(0x20d)](_0x4a07c9[_0xca7768(0x164)],_0x558adc[_0xca7768(0x175)]))return![];if(_0x558adc['eFCch']([_0x558adc[_0xca7768(0x12d)],_0x558adc[_0xca7768(0x183)],_0x558adc[_0xca7768(0x1ca)],_0x558adc[_0xca7768(0x12f)]][_0xca7768(0x162)](_0x4a07c9[_0xca7768(0x12e)]),-0x1))return![];return!![];}[a39_0x40f5df(0x193)](_0x304288,_0x391663){const _0x90a3e5=a39_0x40f5df,_0x354532=_0x391663[_0x90a3e5(0x1b3)];if(_0x354532)return _0x354532;return _0x391663[_0x90a3e5(0x12e)]+_0x90a3e5(0x19c)+this[_0x90a3e5(0x1c3)](_0x304288);}['setStepIdentifier'](_0x1b2b12,_0x4d98a8){const _0xd488bc=a39_0x40f5df,_0x47d83f={'oNNzE':function(_0x4287b0){return _0x4287b0();}};let _0x14e2a1=_0x4d98a8[_0xd488bc(0x12e)]+_0xd488bc(0x19c)+this['getTestIdentifier'](_0x1b2b12);return this['_tests'][_0x14e2a1]&&(_0x14e2a1=_0x14e2a1+'\x20-\x20'+_0x47d83f[_0xd488bc(0x1ec)](uuidv4)),_0x4d98a8[_0xd488bc(0x1b3)]=_0x14e2a1,_0x14e2a1;}[a39_0x40f5df(0x1c3)]=_0x5ee8b2=>{const _0x2b24b7=a39_0x40f5df,_0x57edbb={};_0x57edbb['rmGqW']=function(_0x37b288,_0x675ee3){return _0x37b288+_0x675ee3;},_0x57edbb[_0x2b24b7(0x16a)]=function(_0x10fbae,_0x3f328c){return _0x10fbae+_0x3f328c;};const _0x56da0e=_0x57edbb;return _0x56da0e[_0x2b24b7(0x20a)](_0x56da0e['doIyw'](_0x5ee8b2[_0x2b24b7(0x199)],'-'),_0x5ee8b2['id']);};[a39_0x40f5df(0x166)]=(_0xd700f9,_0x65a8a8)=>{const _0x10ecdd=a39_0x40f5df,_0x93d93b={};_0x93d93b['dZnhH']=function(_0x3c8932,_0x569c75){return _0x3c8932+_0x569c75;},_0x93d93b[_0x10ecdd(0x1f7)]=function(_0x20c6b7,_0x2b7455){return _0x20c6b7+_0x2b7455;};const _0x4624df=_0x93d93b;return _0x4624df[_0x10ecdd(0x17f)](_0x4624df['AHdcZ'](this['getTestIdentifier'](_0xd700f9),'-'),_0x65a8a8);};[a39_0x40f5df(0x185)]=_0x4fb4e0=>{const _0x4742f5=a39_0x40f5df,_0x4b9f9b={};_0x4b9f9b[_0x4742f5(0x1cb)]=_0x4742f5(0x211),_0x4b9f9b[_0x4742f5(0x17e)]=_0x4742f5(0x137),_0x4b9f9b[_0x4742f5(0x1ba)]='beforeAll\x20hook',_0x4b9f9b[_0x4742f5(0x130)]=_0x4742f5(0x1cc),_0x4b9f9b[_0x4742f5(0x1e4)]=_0x4742f5(0x1df),_0x4b9f9b[_0x4742f5(0x196)]='AFTER_EACH',_0x4b9f9b['KfoPY']=_0x4742f5(0x1c6),_0x4b9f9b['Bflvu']=_0x4742f5(0x13c),_0x4b9f9b[_0x4742f5(0x163)]=_0x4742f5(0x16f);const _0x1c210d=_0x4b9f9b;if(_0x4fb4e0['startsWith'](_0x1c210d[_0x4742f5(0x1cb)]))return _0x1c210d[_0x4742f5(0x17e)];else{if(_0x4fb4e0['startsWith'](_0x1c210d['vtjHD']))return _0x1c210d[_0x4742f5(0x130)];else{if(_0x4fb4e0[_0x4742f5(0x189)](_0x1c210d[_0x4742f5(0x1e4)]))return _0x1c210d['OKCNB'];else{if(_0x4fb4e0[_0x4742f5(0x189)](_0x1c210d['KfoPY']))return _0x1c210d[_0x4742f5(0x1ac)];}}}return _0x1c210d[_0x4742f5(0x163)];};[a39_0x40f5df(0x206)]=_0x4bf296=>{const _0x506a48=a39_0x40f5df,_0x1648da={};_0x1648da['otGah']=function(_0x1d15b2,_0x2494e1){return _0x1d15b2===_0x2494e1;},_0x1648da['UPYhC']=_0x506a48(0x1b7);const _0x28320b=_0x1648da;let _0x52c432=_0x4bf296[_0x506a48(0x144)];return _0x28320b[_0x506a48(0x1fd)](typeof _0x4bf296[_0x506a48(0x144)],_0x28320b[_0x506a48(0x195)])&&(_0x52c432=_0x52c432[_0x506a48(0x12e)]),_0x52c432+'\x20-\x20'+_0x4bf296[_0x506a48(0x12e)];};[a39_0x40f5df(0x160)](){return![];}}module[a39_0x40f5df(0x1a1)]=o11yClassErrorHandler(MyReporter,[a39_0x40f5df(0x180),a39_0x40f5df(0x143),a39_0x40f5df(0x1de),'onTestEnd','onStepBegin',a39_0x40f5df(0x1ce),a39_0x40f5df(0x1e1)],a39_0x40f5df(0x158));
|
|
1
|
+
const a39_0x86c724=a39_0x8046;(function(_0xa0d6fb,_0x14a09c){const _0x43e0ed=a39_0x8046,_0x58ecba=_0xa0d6fb();while(!![]){try{const _0x4866c2=-parseInt(_0x43e0ed(0x1ba))/0x1*(-parseInt(_0x43e0ed(0x1cf))/0x2)+-parseInt(_0x43e0ed(0x19b))/0x3*(-parseInt(_0x43e0ed(0x203))/0x4)+-parseInt(_0x43e0ed(0x1a6))/0x5+-parseInt(_0x43e0ed(0x1b4))/0x6*(-parseInt(_0x43e0ed(0x216))/0x7)+-parseInt(_0x43e0ed(0x248))/0x8*(parseInt(_0x43e0ed(0x1ad))/0x9)+-parseInt(_0x43e0ed(0x16f))/0xa*(-parseInt(_0x43e0ed(0x24f))/0xb)+parseInt(_0x43e0ed(0x171))/0xc*(-parseInt(_0x43e0ed(0x1a7))/0xd);if(_0x4866c2===_0x14a09c)break;else _0x58ecba['push'](_0x58ecba['shift']());}catch(_0x22e3d0){_0x58ecba['push'](_0x58ecba['shift']());}}}(a39_0xf51b,0x1f0f1));const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTagsFromTitle,getFailureData}=require(a39_0x86c724(0x1a4)),{v4:uuidv4}=require(a39_0x86c724(0x1c3)),path=require(a39_0x86c724(0x226)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a39_0x86c724(0x1e1)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a39_0x86c724(0x1bd)),fs=require('fs'),util=require(a39_0x86c724(0x21a)),{o11yClassErrorHandler}=require(a39_0x86c724(0x1e6)),PerformanceTester=require(a39_0x86c724(0x213)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a39_0x86c724(0x1ff)),{appendTesthubParams}=require(a39_0x86c724(0x1e5)),TestHubHandler=require(a39_0x86c724(0x1cb));function a39_0x8046(_0xcbad,_0x4f0fb4){const _0xf51b60=a39_0xf51b();return a39_0x8046=function(_0x804629,_0x2dc062){_0x804629=_0x804629-0x16e;let _0x141d82=_0xf51b60[_0x804629];return _0x141d82;},a39_0x8046(_0xcbad,_0x4f0fb4);}class MyReporter{constructor(_0x38a340){const _0x552992=a39_0x86c724,_0xecde70={'oaFWz':_0x552992(0x1ee),'qYjlr':function(_0x4aa73f,_0x42a53c,_0x411325,_0x4ae856){return _0x4aa73f(_0x42a53c,_0x411325,_0x4ae856);},'gjiBU':_0x552992(0x1f2)},_0x4cb1b8=_0xecde70['oaFWz']['split']('|');let _0x3850d2=0x0;while(!![]){switch(_0x4cb1b8[_0x3850d2++]){case'0':this['options']=_0x38a340;continue;case'1':const _0x19fe48={};_0x19fe48[_0x552992(0x1a1)]=process['env'][_0x552992(0x20a)],_0xecde70['qYjlr'](setLogLevel,_0x19fe48,new Map(),new Map());continue;case'2':process[_0x552992(0x18d)][_0x552992(0x18f)]&&(PerformanceTester[_0x552992(0x237)](_0xecde70[_0x552992(0x199)]),process[_0x552992(0x18d)]['START_TIME']=new Date()[_0x552992(0x24c)]());continue;case'3':this['_tests']={};continue;case'4':this[_0x552992(0x1b5)]=null;continue;case'5':this['_gitConfigured']=![];continue;case'6':this['_testHooksMap']={};continue;}break;}}async['onBegin'](){const _0x481f41=a39_0x86c724;TestDetails[_0x481f41(0x1d4)](),await this[_0x481f41(0x17a)]();}async[a39_0x86c724(0x1c7)](_0x27c037,_0x49083f){const _0x269d64=a39_0x86c724,_0x773759={'IFefn':function(_0x532934,_0x6ba8f7){return _0x532934(_0x6ba8f7);},'Zurtg':_0x269d64(0x1d1)},_0x23ffcf=this['getTestIdentifier'](_0x27c037);this[_0x269d64(0x23d)][_0x23ffcf]={'uuid':TestDetails[_0x269d64(0x1f7)](this[_0x269d64(0x249)](_0x27c037,_0x49083f[_0x269d64(0x17b)])),'startedAt':_0x49083f[_0x269d64(0x246)]},_0x773759['IFefn'](trace,_0x269d64(0x1cd)+_0x23ffcf),await this[_0x269d64(0x1a3)](_0x27c037,_0x773759['Zurtg'],_0x49083f);}async[a39_0x86c724(0x215)](_0x5b5216,_0x2084f8,_0x577506){const _0x2d29c6=a39_0x86c724,_0x4ff7c8={'aHfYS':function(_0x21048a,_0xf8bf0f){return _0x21048a(_0xf8bf0f);},'KkqGh':_0x2d29c6(0x188)};if(!this['needToReportStep'](_0x577506,_0x5b5216))return;const _0x2a2e0f=this[_0x2d29c6(0x21d)](_0x5b5216,_0x577506);this[_0x2d29c6(0x23d)][_0x2a2e0f]={'uuid':TestDetails[_0x2d29c6(0x1f7)](_0x2a2e0f),'startedAt':_0x577506[_0x2d29c6(0x246)][_0x2d29c6(0x24c)]()};const _0x42329f=this['getTestRunIdentifier'](_0x5b5216,_0x2084f8[_0x2d29c6(0x17b)]);!this[_0x2d29c6(0x192)][_0x42329f]&&(this[_0x2d29c6(0x192)][_0x42329f]=[]),this['_testHooksMap'][_0x42329f]['push'](this[_0x2d29c6(0x23d)][_0x2a2e0f]['uuid']),_0x4ff7c8[_0x2d29c6(0x172)](trace,'Hook\x20Started\x20with\x20unique\x20id\x20'+_0x2a2e0f+_0x2d29c6(0x1fd)+_0x42329f),await this['sendHookRunEvent'](_0x5b5216,_0x577506,_0x4ff7c8[_0x2d29c6(0x19e)],_0x2084f8);}async['onStepEnd'](_0x281d44,_0x388b03,_0x44642d){const _0x386a74=a39_0x86c724,_0xd4cc3={'oDnJc':function(_0x2c62ee,_0x55abe6){return _0x2c62ee+_0x55abe6;},'kfjZL':function(_0x226897,_0x3a1643){return _0x226897(_0x3a1643);},'shlRY':_0x386a74(0x1d3)};if(!this[_0x386a74(0x22e)](_0x44642d,_0x281d44))return;const _0x255618=this[_0x386a74(0x1a2)](_0x281d44,_0x44642d);this[_0x386a74(0x23d)][_0x255618]={...this[_0x386a74(0x23d)][_0x255618]||{},'finishedAt':new Date(_0xd4cc3[_0x386a74(0x1fa)](_0x44642d[_0x386a74(0x246)][_0x386a74(0x17d)](),_0x44642d[_0x386a74(0x243)]))},_0xd4cc3[_0x386a74(0x255)](trace,_0x386a74(0x1eb)+_0x255618+_0x386a74(0x222)),await this[_0x386a74(0x1b6)](_0x281d44,_0x44642d,_0xd4cc3[_0x386a74(0x183)],_0x388b03);}async[a39_0x86c724(0x19f)](_0x53649c,_0x1fe068){const _0x4a103d=a39_0x86c724,_0xd74716={'TkHdP':function(_0x310b29,_0x20c815){return _0x310b29===_0x20c815;},'hFOAy':_0x4a103d(0x185),'Hnhep':'TEST_SCREENSHOT','qVNNX':_0x4a103d(0x244),'eECMB':function(_0x25ade7,_0x5465d8){return _0x25ade7(_0x5465d8);},'sqykb':_0x4a103d(0x1de),'sjugB':function(_0x574dc6,_0x5d28da){return _0x574dc6>_0x5d28da;}},_0x4a235e=this[_0x4a103d(0x1dd)](_0x53649c),_0x3fa7c7=TestDetails[_0x4a103d(0x1f7)](this[_0x4a103d(0x249)](_0x53649c,_0x1fe068[_0x4a103d(0x17b)]));this['_tests'][_0x4a235e]={...this[_0x4a103d(0x23d)][_0x4a235e]||{},'finishedAt':new Date()[_0x4a103d(0x24c)]()},_0xd74716[_0x4a103d(0x1e4)](trace,_0x4a103d(0x1d6)+_0x4a235e),await this['sendTestRunEvent'](_0x53649c,_0xd74716[_0x4a103d(0x224)],_0x1fe068);const _0x1e598d=[];_0x1fe068['attachments']&&_0x1fe068[_0x4a103d(0x220)]['map'](_0x474080=>{const _0x318928=_0x4a103d;if(_0xd74716[_0x318928(0x241)](_0x474080[_0x318928(0x21b)],_0xd74716[_0x318928(0x245)])){if(!fs[_0x318928(0x1ed)](_0x474080[_0x318928(0x226)]))return;_0x1e598d[_0x318928(0x1df)]({'test_run_uuid':_0x3fa7c7,'timestamp':fs[_0x318928(0x208)](_0x474080['path'])[_0x318928(0x181)],'kind':_0xd74716[_0x318928(0x1b7)],'message':fs['readFileSync'](_0x474080[_0x318928(0x226)],{'encoding':_0xd74716['qVNNX']})});}}),_0xd74716[_0x4a103d(0x1f5)](_0x1e598d[_0x4a103d(0x25c)],0x0)&&await MyReporter[_0x4a103d(0x25b)](_0x1e598d);}async['endSession'](){const _0x86fd63=a39_0x86c724;await RequestQueueHandler[_0x86fd63(0x236)]()[_0x86fd63(0x177)](),TestDetails['shutdown']();}async[a39_0x86c724(0x221)](_0x1d5813){const _0x2f330f=a39_0x86c724,_0x175244={'fiCCq':function(_0x5c45e0){return _0x5c45e0();},'mjUDm':function(_0x5998a9,_0x57ccb6){return _0x5998a9(_0x57ccb6);}};await this[_0x2f330f(0x1d5)](),_0x175244[_0x2f330f(0x200)](printBuildLink);try{process[_0x2f330f(0x18d)][_0x2f330f(0x18f)]&&await _0x175244['fiCCq'](calculatePerformance);}catch(_0x17daf1){_0x175244[_0x2f330f(0x1e0)](debug,'Error\x20in\x20calculating\x20performance:\x20'+_0x17daf1[_0x2f330f(0x1d8)]());}}static async[a39_0x86c724(0x23e)](_0x519085,_0x19daa1){const _0x3f7ced=a39_0x86c724;_0x19daa1['test_run_uuid']=TestDetails[_0x3f7ced(0x1f7)](_0x519085),await this[_0x3f7ced(0x25b)]([_0x19daa1]);}static async['reportLogs'](_0x5b7a17){const _0x2a6d7e=a39_0x86c724,_0x4739e0={};_0x4739e0[_0x2a6d7e(0x242)]=_0x2a6d7e(0x173);const _0xdd21b2=_0x4739e0,_0x1043e2={};_0x1043e2[_0x2a6d7e(0x1bc)]=_0xdd21b2[_0x2a6d7e(0x242)],_0x1043e2['logs']=_0x5b7a17,await SessionHandler[_0x2a6d7e(0x210)](_0x1043e2);}async['sendHookRunEvent'](_0x256fbc,_0x369fd7,_0x254f44,_0x463c89){const _0x2225a4=a39_0x86c724,_0x531224={'lVZqP':_0x2225a4(0x1ec),'gTKQj':_0x2225a4(0x187),'wVPXk':_0x2225a4(0x195),'isucQ':function(_0xfb3e3c,_0x1e78d6){return _0xfb3e3c>=_0x1e78d6;},'WUjfw':function(_0x39a736,_0x126eba){return _0x39a736===_0x126eba;},'ARGRd':_0x2225a4(0x1d3),'yuQmd':function(_0x5d50d0,_0x2770be){return _0x5d50d0>_0x2770be;},'bvlds':_0x2225a4(0x207),'DNVvS':function(_0x45891d,_0x13d10a){return _0x45891d(_0x13d10a);},'ccCZj':function(_0x334fe8,_0x2ee97b,_0x522444){return _0x334fe8(_0x2ee97b,_0x522444);},'dfjTn':_0x2225a4(0x1cc),'EBdzW':function(_0x5a6655,_0x18567f){return _0x5a6655===_0x18567f;},'craJn':'passed'},_0x1f7a92=this[_0x2225a4(0x1a2)](_0x256fbc,_0x369fd7),_0x1c3879=this[_0x2225a4(0x23d)][_0x1f7a92],_0xf5a948={'uuid':_0x1c3879['uuid'],'type':_0x531224[_0x2225a4(0x1b0)],'hook_type':this[_0x2225a4(0x1be)](_0x369fd7['title']),'name':_0x369fd7[_0x2225a4(0x21f)],'scope':this[_0x2225a4(0x1fb)](_0x369fd7),'scopes':this[_0x2225a4(0x228)](_0x256fbc),'body':{'lang':_0x531224[_0x2225a4(0x1d2)],'code':null},'identifier':_0x1f7a92,'file_name':path[_0x2225a4(0x190)](process[_0x2225a4(0x1c9)](),_0x256fbc['location'][_0x2225a4(0x1da)]),'location':path[_0x2225a4(0x190)](process[_0x2225a4(0x1c9)](),_0x256fbc[_0x2225a4(0x198)][_0x2225a4(0x1da)]),'result':_0x531224[_0x2225a4(0x178)],'duration_in_ms':_0x531224[_0x2225a4(0x1f3)](_0x369fd7[_0x2225a4(0x243)],0x0)?_0x369fd7[_0x2225a4(0x243)]:undefined,'vc_filepath':this[_0x2225a4(0x1b5)]&&_0x256fbc['location'][_0x2225a4(0x1da)]?path['relative'](this[_0x2225a4(0x1b5)],_0x256fbc['location'][_0x2225a4(0x1da)]):undefined,'started_at':_0x1c3879['startedAt'],'finished_at':_0x1c3879[_0x2225a4(0x24e)],'framework':FRAMEWORKS['PLAYWRIGHT']};if(_0x531224[_0x2225a4(0x179)](_0x254f44,_0x531224[_0x2225a4(0x21c)])){const {steps:_0x1f7b32,logs:_0x231344}=this[_0x2225a4(0x253)](_0x369fd7[_0x2225a4(0x211)],_0x1c3879[_0x2225a4(0x1c3)],_0x531224[_0x2225a4(0x1b0)]);_0x231344&&_0x531224['yuQmd'](_0x231344[_0x2225a4(0x25c)],0x0)&&await MyReporter['reportLogs'](_0x231344);const _0xf397c0={};_0xf397c0[_0x2225a4(0x211)]=_0x1f7b32,_0xf5a948[_0x2225a4(0x1ce)]=_0xf397c0;if(_0x369fd7[_0x2225a4(0x1d7)]){_0xf5a948[_0x2225a4(0x20e)]=_0x531224[_0x2225a4(0x205)],_0xf5a948['failure_reason']=_0x531224[_0x2225a4(0x174)](removeAnsiColors,_0x369fd7[_0x2225a4(0x1d7)][_0x2225a4(0x25a)]),_0xf5a948[_0x2225a4(0x196)]=_0x531224[_0x2225a4(0x174)](getFailureType,_0x369fd7[_0x2225a4(0x1d7)]['message']);const _0x5d7cdf=_0x531224['ccCZj'](failureData,_0x369fd7[_0x2225a4(0x1d7)],_0x531224[_0x2225a4(0x22b)]);if(_0x5d7cdf&&_0x531224[_0x2225a4(0x256)](_0x5d7cdf[_0x2225a4(0x25c)],0x0)){const _0x1b1260={};_0x1b1260[_0x2225a4(0x235)]=[_0xf5a948['failure_reason']],_0x1b1260[_0x2225a4(0x1ea)]=[],_0x5d7cdf[_0x2225a4(0x1df)](_0x1b1260);}_0xf5a948['failure']=_0x5d7cdf;}else _0xf5a948[_0x2225a4(0x20e)]=_0x531224[_0x2225a4(0x258)];}const _0x2d7b7c={};_0x2d7b7c[_0x2225a4(0x1bc)]=_0x254f44,_0x2d7b7c['hook_run']=_0xf5a948;const _0x3c109b=_0x2d7b7c;await SessionHandler[_0x2225a4(0x210)](_0x3c109b);}[a39_0x86c724(0x253)](_0x452489,_0x24dbe0,_0x304855){const _0x3ae524=a39_0x86c724,_0x3fa81e={'UtTGI':function(_0x1bfde1,_0x2034db){return _0x1bfde1===_0x2034db;},'MNLGe':_0x3ae524(0x1ec),'GucmT':function(_0x386481,_0x5cbbaa){return _0x386481===_0x5cbbaa;},'nvOgV':_0x3ae524(0x250),'SNfTK':_0x3ae524(0x170),'WlQKe':function(_0x125e63,_0x5834a5){return _0x125e63===_0x5834a5;},'LBkJK':function(_0x438006,_0x439140){return _0x438006===_0x439140;},'ivNyo':_0x3ae524(0x1f0),'NIxTs':_0x3ae524(0x1b1),'nTBbl':_0x3ae524(0x1c8),'jquuq':_0x3ae524(0x1b8),'vVAfn':'failed','ipbzJ':_0x3ae524(0x24d),'ICCSo':function(_0xbb9f49,_0x48a201){return _0xbb9f49(_0x48a201);},'XNzhl':function(_0x2c5221,_0x678509){return _0x2c5221(_0x678509);},'NkxCY':function(_0x1554d3){return _0x1554d3();},'HUzjK':function(_0x248238,_0xa1675,_0x4f243c){return _0x248238(_0xa1675,_0x4f243c);},'kPyrZ':function(_0x5e63d8,_0x4744c8,_0x4830f2){return _0x5e63d8(_0x4744c8,_0x4830f2);}},_0x53df1a=[],_0x206ccf=[],_0x2e6a65=_0x452489['filter'](_0x560a1a=>{const _0x4c0830=_0x3ae524;if(_0x3fa81e[_0x4c0830(0x1ef)](_0x560a1a[_0x4c0830(0x18a)],_0x3fa81e[_0x4c0830(0x1f9)])&&(_0x3fa81e[_0x4c0830(0x22a)](_0x560a1a[_0x4c0830(0x21f)],_0x3fa81e[_0x4c0830(0x1f1)])||_0x3fa81e['GucmT'](_0x560a1a[_0x4c0830(0x21f)],_0x3fa81e[_0x4c0830(0x19a)])))return![];return!![];}),_0x413c10=(_0x8d48ba,_0x27399a=![])=>{const _0x1a60c6=_0x3ae524;if(_0x3fa81e[_0x1a60c6(0x1f6)](_0x8d48ba['steps']['length'],0x0)){const _0x625933=_0x3fa81e[_0x1a60c6(0x175)](_0x304855,_0x3fa81e[_0x1a60c6(0x1db)])?_0x3fa81e['NIxTs']:_0x3fa81e[_0x1a60c6(0x218)];_0x206ccf[_0x1a60c6(0x1df)]({'kind':_0x3fa81e[_0x1a60c6(0x1d9)],[_0x625933]:_0x24dbe0,'message':_0x8d48ba[_0x1a60c6(0x21f)],'timestamp':_0x8d48ba[_0x1a60c6(0x246)][_0x1a60c6(0x24c)](),'level':_0x8d48ba[_0x1a60c6(0x1d7)]?_0x3fa81e[_0x1a60c6(0x186)]:_0x3fa81e[_0x1a60c6(0x227)],'duration':_0x8d48ba[_0x1a60c6(0x243)],'failure':_0x8d48ba[_0x1a60c6(0x1d7)]&&_0x8d48ba[_0x1a60c6(0x1d7)][_0x1a60c6(0x25a)]&&_0x3fa81e[_0x1a60c6(0x1ae)](removeAnsiColors,_0x8d48ba['error'][_0x1a60c6(0x25a)]),'failure_type':_0x3fa81e['XNzhl'](getFailureType,_0x8d48ba['error']&&_0x8d48ba[_0x1a60c6(0x1d7)][_0x1a60c6(0x25a)])});}else{!_0x27399a&&_0x53df1a[_0x1a60c6(0x1df)]({'id':_0x3fa81e[_0x1a60c6(0x20d)](uuidv4),'text':_0x8d48ba[_0x1a60c6(0x21f)],'keyword':undefined,'started_at':_0x8d48ba[_0x1a60c6(0x246)]['toISOString'](),'duration':_0x8d48ba[_0x1a60c6(0x243)],'result':_0x8d48ba[_0x1a60c6(0x1d7)]?_0x3fa81e[_0x1a60c6(0x186)]:_0x3fa81e[_0x1a60c6(0x227)],'failure':_0x8d48ba[_0x1a60c6(0x1d7)]&&_0x8d48ba[_0x1a60c6(0x1d7)][_0x1a60c6(0x25a)]&&_0x3fa81e[_0x1a60c6(0x251)](removeAnsiColors,_0x8d48ba[_0x1a60c6(0x1d7)]['message']),'failure_type':_0x3fa81e[_0x1a60c6(0x251)](getFailureType,_0x8d48ba[_0x1a60c6(0x1d7)]&&_0x8d48ba[_0x1a60c6(0x1d7)][_0x1a60c6(0x25a)])});for(const _0x22d412 of _0x8d48ba[_0x1a60c6(0x211)]){_0x3fa81e[_0x1a60c6(0x1c6)](_0x413c10,_0x22d412,!![]);}}};for(const _0x41f13e of _0x2e6a65){_0x3fa81e[_0x3ae524(0x1ac)](_0x413c10,_0x41f13e,![]);}const _0xb9d1e9={};return _0xb9d1e9[_0x3ae524(0x211)]=_0x53df1a,_0xb9d1e9['logs']=_0x206ccf,_0xb9d1e9;}async['sendTestRunEvent'](_0x204fe0,_0x1ed696,_0x3f5aa9){const _0x29a6b1=a39_0x86c724,_0x244c8f={'nPNok':'test','uQVNK':_0x29a6b1(0x187),'gJwYi':'pending','kLSOD':function(_0x264bb4,_0x5768b7){return _0x264bb4(_0x5768b7);},'pzQff':function(_0x50f806,_0x11e7df,_0x5998d5,_0x89d354,_0x30b66b){return _0x50f806(_0x11e7df,_0x5998d5,_0x89d354,_0x30b66b);},'TIXfA':function(_0x16de73,_0x4cd964){return _0x16de73>_0x4cd964;},'ZAGaU':function(_0x4b758b,_0x21902d){return _0x4b758b-_0x21902d;},'qRAyY':function(_0x34c12d,_0x26f26d){return _0x34c12d===_0x26f26d;},'iSTth':_0x29a6b1(0x1de),'daCAH':function(_0x3967b9,_0x57c2b6){return _0x3967b9===_0x57c2b6;},'oNMqe':function(_0x1cd3c1,_0x2596a4){return _0x1cd3c1===_0x2596a4;},'cTWfl':'skipped','lYtin':_0x29a6b1(0x24d),'RYMYB':function(_0x4aacb0,_0xb3d02a){return _0x4aacb0===_0xb3d02a;},'aAPLu':'failed','KHqyS':_0x29a6b1(0x1d0),'jsFKT':function(_0x5b1ecd,_0x4c8320){return _0x5b1ecd===_0x4c8320;},'udOui':function(_0x2c86a0,_0x57373f){return _0x2c86a0===_0x57373f;},'WeZKd':_0x29a6b1(0x19c),'QWFmv':function(_0x1800b0,_0xacfe67,_0xf7a6fa){return _0x1800b0(_0xacfe67,_0xf7a6fa);},'gMgDA':function(_0x3e9ce5,_0xa84f37){return _0x3e9ce5>_0xa84f37;}},_0x4db5c2=this[_0x29a6b1(0x1dd)](_0x204fe0),_0x57e013=this[_0x29a6b1(0x1fb)](_0x204fe0),_0x32a1f0=this['_tests'][_0x4db5c2],_0x566d5c=path[_0x29a6b1(0x190)](process[_0x29a6b1(0x1c9)](),_0x204fe0['location']['file']);await this[_0x29a6b1(0x17a)]();const _0x428bc9={'uuid':_0x32a1f0[_0x29a6b1(0x1c3)],'type':_0x244c8f['nPNok'],'name':_0x204fe0[_0x29a6b1(0x21f)],'body':{'lang':_0x244c8f[_0x29a6b1(0x18b)],'code':_0x204fe0['fn']['toString']()},'scope':_0x57e013,'scopes':this[_0x29a6b1(0x228)](_0x204fe0),'identifier':_0x4db5c2,'file_name':_0x566d5c,'location':_0x566d5c,'result':_0x244c8f[_0x29a6b1(0x206)],'duration_in_ms':_0x3f5aa9&&_0x3f5aa9['duration']?_0x3f5aa9[_0x29a6b1(0x243)]:null,'vc_filepath':this[_0x29a6b1(0x1b5)]&&_0x204fe0[_0x29a6b1(0x198)][_0x29a6b1(0x1da)]?path['relative'](this['_gitConfigPath'],_0x204fe0[_0x29a6b1(0x198)]['file']):undefined,'started_at':_0x32a1f0[_0x29a6b1(0x23a)],'finished_at':_0x32a1f0[_0x29a6b1(0x24e)],'framework':FRAMEWORKS[_0x29a6b1(0x20c)],'customRerunParam':{'rerun_name':_0x204fe0[_0x29a6b1(0x238)]()[_0x29a6b1(0x204)]('\x20')},'tags':_0x244c8f[_0x29a6b1(0x1b3)](getTagsFromTitle,_0x204fe0[_0x29a6b1(0x21f)])};_0x244c8f[_0x29a6b1(0x16e)](appendTesthubParams,_0x428bc9,_0x1ed696,_0x204fe0,FRAMEWORKS[_0x29a6b1(0x20c)]);_0x3f5aa9&&_0x244c8f[_0x29a6b1(0x217)](_0x3f5aa9[_0x29a6b1(0x17b)],0x0)&&(_0x428bc9[_0x29a6b1(0x21e)]=TestDetails[_0x29a6b1(0x1f7)](this[_0x29a6b1(0x249)](_0x204fe0,_0x244c8f[_0x29a6b1(0x22d)](_0x3f5aa9['retry'],0x1))));if(_0x244c8f[_0x29a6b1(0x18c)](_0x1ed696,_0x244c8f[_0x29a6b1(0x1bf)])){_0x428bc9['result']=_0x3f5aa9[_0x29a6b1(0x1a8)];if(_0x244c8f['daCAH'](_0x3f5aa9[_0x29a6b1(0x1a8)],_0x204fe0['expectedStatus']))_0x428bc9[_0x29a6b1(0x20e)]=_0x244c8f[_0x29a6b1(0x202)](_0x3f5aa9[_0x29a6b1(0x1a8)],_0x244c8f[_0x29a6b1(0x19d)])?_0x244c8f['cTWfl']:_0x244c8f[_0x29a6b1(0x176)];else{(_0x244c8f[_0x29a6b1(0x232)](_0x428bc9['result'],_0x244c8f[_0x29a6b1(0x176)])||_0x244c8f[_0x29a6b1(0x233)](_0x428bc9[_0x29a6b1(0x20e)],_0x244c8f['aAPLu'])||_0x244c8f[_0x29a6b1(0x233)](_0x428bc9[_0x29a6b1(0x20e)],_0x244c8f['KHqyS']))&&(_0x428bc9[_0x29a6b1(0x20e)]=_0x244c8f[_0x29a6b1(0x197)]);if(_0x244c8f[_0x29a6b1(0x1e3)](_0x3f5aa9[_0x29a6b1(0x1a8)],_0x244c8f[_0x29a6b1(0x176)])&&_0x244c8f[_0x29a6b1(0x20f)](_0x204fe0[_0x29a6b1(0x1ca)],_0x244c8f[_0x29a6b1(0x197)])){const _0x472e91={};_0x472e91[_0x29a6b1(0x25a)]=_0x244c8f['WeZKd'],_0x472e91['stack']=_0x244c8f[_0x29a6b1(0x259)],_0x3f5aa9[_0x29a6b1(0x1d7)]=_0x472e91,_0x3f5aa9[_0x29a6b1(0x1c2)]=[_0x3f5aa9[_0x29a6b1(0x1d7)]];}}const _0x404f1d=this['getTestRunIdentifier'](_0x204fe0,_0x3f5aa9['retry']);_0x428bc9[_0x29a6b1(0x1af)]=this[_0x29a6b1(0x192)][_0x404f1d];const {steps:_0x23a37e,logs:_0x255f1f}=this['getStepsAndLogs'](_0x3f5aa9[_0x29a6b1(0x211)],_0x32a1f0[_0x29a6b1(0x1c3)],_0x244c8f[_0x29a6b1(0x17e)]);await MyReporter[_0x29a6b1(0x25b)](_0x255f1f);const _0x508625={};_0x508625[_0x29a6b1(0x211)]=_0x23a37e,_0x428bc9[_0x29a6b1(0x1ce)]=_0x508625;if(_0x3f5aa9[_0x29a6b1(0x1d7)]){_0x428bc9['failure_reason']=_0x244c8f[_0x29a6b1(0x1b3)](removeAnsiColors,_0x3f5aa9[_0x29a6b1(0x1d7)][_0x29a6b1(0x25a)]),_0x428bc9[_0x29a6b1(0x196)]=_0x244c8f[_0x29a6b1(0x1b3)](getFailureType,_0x3f5aa9['error'][_0x29a6b1(0x25a)]);const _0x21234c={};_0x21234c[_0x29a6b1(0x1b1)]=_0x32a1f0[_0x29a6b1(0x1c3)];const {failureData:_0x2fb555,logs:_0x495945}=_0x244c8f['QWFmv'](getFailureData,_0x3f5aa9['errors'],_0x21234c);if(_0x2fb555&&_0x244c8f[_0x29a6b1(0x18c)](_0x2fb555[_0x29a6b1(0x25c)],0x0)){const _0x427286={};_0x427286[_0x29a6b1(0x235)]=[_0x428bc9[_0x29a6b1(0x1a9)]],_0x427286[_0x29a6b1(0x1ea)]=[],_0x2fb555[_0x29a6b1(0x1df)](_0x427286);}_0x428bc9[_0x29a6b1(0x201)]=_0x2fb555,_0x495945&&_0x244c8f[_0x29a6b1(0x194)](_0x495945[_0x29a6b1(0x25c)],0x0)&&await MyReporter[_0x29a6b1(0x25b)](_0x495945);}}const _0x259332={};_0x259332[_0x29a6b1(0x1bc)]=_0x1ed696,_0x259332['test_run']=_0x428bc9;const _0x1de3c5=_0x259332;await SessionHandler[_0x29a6b1(0x210)](_0x1de3c5);}static async[a39_0x86c724(0x18e)](_0x5ef0d3,_0x2bca97){const _0xc3c2a=a39_0x86c724,_0x14f71e={'wMnrG':function(_0x17b1db,_0x276ac3){return _0x17b1db(_0x276ac3);},'koHOG':_0xc3c2a(0x239)},_0x2c2aec={'uuid':TestDetails[_0xc3c2a(0x1f7)](_0x5ef0d3),'integrations':_0x2bca97},_0x2b3090={};_0x2b3090[_0xc3c2a(0x1c0)]=null,_0x14f71e['wMnrG'](debug,_0xc3c2a(0x234)+_0x5ef0d3+',\x20'+util[_0xc3c2a(0x212)](_0x2bca97,_0x2b3090));const _0x35d8f5={};_0x35d8f5[_0xc3c2a(0x1bc)]=_0x14f71e[_0xc3c2a(0x214)],_0x35d8f5[_0xc3c2a(0x1e8)]=_0x2c2aec,await SessionHandler[_0xc3c2a(0x210)](_0x35d8f5);}async[a39_0x86c724(0x17a)](){const _0x5c4adb=a39_0x86c724,_0x594c92={'RPeDT':function(_0x4b7126){return _0x4b7126();}};if(this[_0x5c4adb(0x191)])return;const _0x5cbba9=await _0x594c92[_0x5c4adb(0x189)](getGitMetaData);_0x5cbba9&&(this[_0x5c4adb(0x1b5)]=_0x5cbba9[_0x5c4adb(0x1a0)]),this[_0x5c4adb(0x191)]=!![];}['getHierarchy'](_0x5102c7){const _0x18c486=a39_0x86c724,_0x2ce8c8={};_0x2ce8c8[_0x18c486(0x229)]=function(_0x4ff08f,_0x580726){return _0x4ff08f!==_0x580726;};const _0x32b8b8=_0x2ce8c8,_0x2c1a3e=[];if(_0x5102c7&&_0x5102c7[_0x18c486(0x225)]){let _0x25eea9=_0x5102c7['parent'];while(_0x25eea9&&_0x32b8b8[_0x18c486(0x229)](_0x25eea9[_0x18c486(0x21f)],'')){_0x2c1a3e[_0x18c486(0x1df)](_0x25eea9[_0x18c486(0x21f)]),_0x25eea9=_0x25eea9[_0x18c486(0x225)];}}return _0x2c1a3e['reverse']()[_0x18c486(0x1aa)](0x0,0x2),_0x2c1a3e;}[a39_0x86c724(0x22e)](_0x408ebd){const _0x3873e2=a39_0x86c724,_0x375ab2={};_0x375ab2[_0x3873e2(0x230)]=function(_0x2ca0a6,_0x239819){return _0x2ca0a6!==_0x239819;},_0x375ab2[_0x3873e2(0x1ab)]='hook',_0x375ab2['pHCuH']=function(_0x37e5c8,_0x3e37b4){return _0x37e5c8===_0x3e37b4;},_0x375ab2['RJgHf']=_0x3873e2(0x1e9),_0x375ab2[_0x3873e2(0x17f)]=_0x3873e2(0x209),_0x375ab2['PbCfL']=_0x3873e2(0x20b),_0x375ab2[_0x3873e2(0x1a5)]='afterEach\x20hook';const _0x52b8d8=_0x375ab2;if(_0x52b8d8[_0x3873e2(0x230)](_0x408ebd['category'],_0x52b8d8[_0x3873e2(0x1ab)]))return![];if(_0x52b8d8[_0x3873e2(0x1b9)]([_0x52b8d8[_0x3873e2(0x257)],_0x52b8d8[_0x3873e2(0x17f)],_0x52b8d8['PbCfL'],_0x52b8d8[_0x3873e2(0x1a5)]][_0x3873e2(0x180)](_0x408ebd[_0x3873e2(0x21f)]),-0x1))return![];return!![];}[a39_0x86c724(0x1a2)](_0x38d90e,_0x569ca1){const _0x464f05=a39_0x86c724,_0xe541ad=_0x569ca1['_bs_hookIdentifier'];if(_0xe541ad)return _0xe541ad;return _0x569ca1[_0x464f05(0x21f)]+'\x20for\x20'+this[_0x464f05(0x1dd)](_0x38d90e);}[a39_0x86c724(0x21d)](_0x190213,_0x202ada){const _0x5a1dbe=a39_0x86c724,_0x9c0f6e={'oxoVa':function(_0x228c42){return _0x228c42();}};let _0x3c6ce4=_0x202ada[_0x5a1dbe(0x21f)]+_0x5a1dbe(0x184)+this['getTestIdentifier'](_0x190213);return this['_tests'][_0x3c6ce4]&&(_0x3c6ce4=_0x3c6ce4+_0x5a1dbe(0x1c4)+_0x9c0f6e[_0x5a1dbe(0x23c)](uuidv4)),_0x202ada['_bs_hookIdentifier']=_0x3c6ce4,_0x3c6ce4;}[a39_0x86c724(0x1dd)]=_0x278ad9=>{const _0x127691=a39_0x86c724,_0x112a0a={};_0x112a0a['LdOTA']=function(_0x29f205,_0x5a6bb7){return _0x29f205+_0x5a6bb7;},_0x112a0a[_0x127691(0x22c)]=function(_0x15c127,_0x1632e2){return _0x15c127+_0x1632e2;};const _0x345b8c=_0x112a0a;return _0x345b8c[_0x127691(0x1f8)](_0x345b8c[_0x127691(0x22c)](_0x278ad9[_0x127691(0x1fc)],'-'),_0x278ad9['id']);};[a39_0x86c724(0x249)]=(_0x200db0,_0x17a5e3)=>{const _0x5b1363=a39_0x86c724,_0xa013a1={};_0xa013a1[_0x5b1363(0x23b)]=function(_0x51dc27,_0x460fb4){return _0x51dc27+_0x460fb4;},_0xa013a1[_0x5b1363(0x1e7)]=function(_0x57b8aa,_0x14e44e){return _0x57b8aa+_0x14e44e;};const _0x4a5c0c=_0xa013a1;return _0x4a5c0c[_0x5b1363(0x23b)](_0x4a5c0c[_0x5b1363(0x1e7)](this[_0x5b1363(0x1dd)](_0x200db0),'-'),_0x17a5e3);};[a39_0x86c724(0x1be)]=_0x1aee59=>{const _0x3d9d01=a39_0x86c724,_0x480f9b={};_0x480f9b[_0x3d9d01(0x182)]='beforeEach\x20hook',_0x480f9b['umxCL']=_0x3d9d01(0x1c1),_0x480f9b['tVPej']=_0x3d9d01(0x209),_0x480f9b[_0x3d9d01(0x223)]=_0x3d9d01(0x219),_0x480f9b[_0x3d9d01(0x22f)]=_0x3d9d01(0x231),_0x480f9b[_0x3d9d01(0x1fe)]=_0x3d9d01(0x17c),_0x480f9b['eWhUO']=_0x3d9d01(0x20b),_0x480f9b[_0x3d9d01(0x1b2)]=_0x3d9d01(0x252),_0x480f9b['YlYQu']=_0x3d9d01(0x1f4);const _0x55506e=_0x480f9b;if(_0x1aee59['startsWith'](_0x55506e[_0x3d9d01(0x182)]))return _0x55506e[_0x3d9d01(0x1dc)];else{if(_0x1aee59['startsWith'](_0x55506e[_0x3d9d01(0x254)]))return _0x55506e[_0x3d9d01(0x223)];else{if(_0x1aee59[_0x3d9d01(0x24b)](_0x55506e['vkzMc']))return _0x55506e['SkLNm'];else{if(_0x1aee59[_0x3d9d01(0x24b)](_0x55506e[_0x3d9d01(0x24a)]))return _0x55506e[_0x3d9d01(0x1b2)];}}}return _0x55506e[_0x3d9d01(0x1c5)];};['getScope']=_0x1de5c6=>{const _0x5b6681=a39_0x86c724,_0xc7cfe4={};_0xc7cfe4['JpPmT']=function(_0xce4e53,_0x4c763c){return _0xce4e53===_0x4c763c;},_0xc7cfe4[_0x5b6681(0x240)]=_0x5b6681(0x247);const _0xeaedb1=_0xc7cfe4;let _0x546697=_0x1de5c6[_0x5b6681(0x225)];return _0xeaedb1['JpPmT'](typeof _0x1de5c6[_0x5b6681(0x225)],_0xeaedb1[_0x5b6681(0x240)])&&(_0x546697=_0x546697[_0x5b6681(0x21f)]),_0x546697+_0x5b6681(0x1c4)+_0x1de5c6[_0x5b6681(0x21f)];};['printsToStdio'](){return![];}}function a39_0xf51b(){const _0x91dbdc=['TIXfA','nTBbl','BEFORE_ALL','util','name','ARGRd','setStepIdentifier','retry_of','title','attachments','onEnd','\x20is\x20triggered','Lhepl','sqykb','parent','path','ipbzJ','getHierarchy','okZbV','GucmT','dfjTn','JRYZj','ZAGaU','needToReportStep','vkzMc','bzfOI','afterEach\x20hook','daCAH','RYMYB','Sending\x20session\x20details\x20for\x20','backtrace','getInstance','startMonitoring','titlePath','CBTSessionCreated','startedAt','bArPz','oxoVa','_tests','addTestUIDAndReportLog','exports','FUrwd','TkHdP','BLsGt','duration','base64','hFOAy','startTime','object','40720FkUFbR','getTestRunIdentifier','eWhUO','startsWith','toISOString','passed','finishedAt','11iUdKSZ','After\x20Hooks','XNzhl','AFTER_ALL','getStepsAndLogs','tVPej','kfjZL','EBdzW','RJgHf','craJn','WeZKd','message','reportLogs','length','pzQff','46630ddoLoi','Before\x20Hooks','883572GayqAs','aHfYS','LogCreated','DNVvS','LBkJK','lYtin','shutdown','wVPXk','WUjfw','configureGit','retry','AFTER_EACH','getTime','nPNok','uhpSt','indexOf','mtime','frIyl','shlRY','\x20for\x20','screenshot','vVAfn','javascript','HookRunStarted','RPeDT','category','uQVNK','qRAyY','env','sendSessionDetails','BROWSERSTACK_O11Y_PERF_MEASUREMENT','relative','_gitConfigured','_testHooksMap','MyReporter','gMgDA','pending','failure_type','aAPLu','location','gjiBU','SNfTK','123915uRCfbt','Expected\x20to\x20fail,\x20but\x20passed.','cTWfl','KkqGh','onTestEnd','root','logLevel','getStepIdentifier','sendTestRunEvent','./pwUtils','oOxIo','863250YTMlzB','26DrcZAs','status','failure_reason','splice','GxOjV','kPyrZ','27wKLmMA','ICCSo','hooks','lVZqP','test_run_uuid','lmKKi','kLSOD','882yIgMIb','_gitConfigPath','sendHookRunEvent','Hnhep','TEST_STEP','pHCuH','29zhbuvj','onStepEnd','event_type','./test-details','getHookType','iSTth','depth','BEFORE_EACH','errors','uuid','\x20-\x20','YlYQu','HUzjK','onTestBegin','hook_run_uuid','cwd','expectedStatus','../../../helpers/testhub/testhubHandler','err','Test\x20Started\x20with\x20unique\x20id\x20','meta','8900qaDbGz','timedOut','TestRunStarted','gTKQj','HookRunFinished','setup','endSession','Test\x20Finished\x20with\x20unique\x20id\x20','error','toString','jquuq','file','ivNyo','umxCL','getTestIdentifier','TestRunFinished','push','mjUDm','../../../helpers/test-observability/utils','onBegin','jsFKT','eECMB','../../../helpers/testhub/utils','../../../helpers/test-observability/error-handler','yEOtd','test_run','beforeEach\x20hook','expanded','Hook\x20Finished\x20with\x20unique\x20id\x20','hook','existsSync','1|2|3|6|0|5|4','UtTGI','test','nvOgV','performance-report-reporter.json','isucQ','unknown','sjugB','WlQKe','getTestUUID','LdOTA','MNLGe','oDnJc','getScope','_projectId','\x20is\x20triggered\x20for\x20test\x20','SkLNm','../../../helpers/test-observability/sessionHandler','fiCCq','failure','oNMqe','12lGskYI','join','bvlds','gJwYi','failed','statSync','beforeAll\x20hook','BROWSERSTACK_LOG_LEVEL','afterAll\x20hook','PLAYWRIGHT','NkxCY','result','udOui','uploadEventData','steps','inspect','../../../helpers/performance-tester','koHOG','onStepBegin','9751auOypp'];a39_0xf51b=function(){return _0x91dbdc;};return a39_0xf51b();}module[a39_0x86c724(0x23f)]=o11yClassErrorHandler(MyReporter,[a39_0x86c724(0x1e2),a39_0x86c724(0x1d5),a39_0x86c724(0x1c7),a39_0x86c724(0x19f),a39_0x86c724(0x215),a39_0x86c724(0x1bb),a39_0x86c724(0x18e)],a39_0x86c724(0x193));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a40_0x2a24(){const _0x26d63a=['retry','existsSync','parse','shutdown','../../../helpers/helper','4806GMjhOI','uCEby','2904KnNSXW','join','getTestUUID','getTestDetails','DAzKS','recursive','aahpQ','writeFileSync','yarXA','env','exports','uuid','getProjectIdFromTestInfo','wChpN','LRqhD','readFileSync','stringify','path','toString','YiJVu','ERIHN','_projectId','8RlayqB','SJudj','dirPath','getAccessibilityPlatformValidation','OTbIH','_platformDetails.json','.json','rmSync','1398958soixdv','getStoreDirName','setTestDetails','getFilePath','setAccessibilityPlatformValidation','BBVuI','2kaCQVl','rAPGy','BZjZq','_test','../../../helpers/test-observability/constants','67036224nfhjBP','6470534OhBOGI','nhOfO','154143BMPRuJ','ZGmyA','getTestIdFromTestInfo','setup','8425868DOhGxh','21605xTPiNj','mkdirSync','180zHlPIN','testId','ebcxt','cwd','getTestRunIdFromTestInfo','force','1266ZKpyXr','__projectId','tests'];a40_0x2a24=function(){return _0x26d63a;};return a40_0x2a24();}const a40_0x25a353=a40_0x2fc6;(function(_0x5847a2,_0x25ab01){const _0x1106fb=a40_0x2fc6,_0x363cc2=_0x5847a2();while(!![]){try{const _0x51eb9d=-parseInt(_0x1106fb(0x1f6))/0x1*(parseInt(_0x1106fb(0x1f0))/0x2)+parseInt(_0x1106fb(0x213))/0x3*(-parseInt(_0x1106fb(0x215))/0x4)+-parseInt(_0x1106fb(0x203))/0x5*(parseInt(_0x1106fb(0x20b))/0x6)+parseInt(_0x1106fb(0x1fc))/0x7*(-parseInt(_0x1106fb(0x1e8))/0x8)+-parseInt(_0x1106fb(0x1fe))/0x9*(-parseInt(_0x1106fb(0x205))/0xa)+-parseInt(_0x1106fb(0x202))/0xb+parseInt(_0x1106fb(0x1fb))/0xc;if(_0x51eb9d===_0x25ab01)break;else _0x363cc2['push'](_0x363cc2['shift']());}catch(_0x5b240e){_0x363cc2['push'](_0x363cc2['shift']());}}}(a40_0x2a24,0xb25b3));const fs=require('fs'),path=require(a40_0x25a353(0x1e3)),{v4:uuidv4}=require(a40_0x25a353(0x1dd)),{TEMP_STORE_DIR_NAME}=require(a40_0x25a353(0x1fa)),{nestedKeyValue}=require(a40_0x25a353(0x212));class TestDetails{static [a40_0x25a353(0x20d)]={};static [a40_0x25a353(0x1ea)]=path[a40_0x25a353(0x216)](process[a40_0x25a353(0x208)](),TestDetails[a40_0x25a353(0x1f1)]());static[a40_0x25a353(0x201)](){const _0xbb6589=a40_0x25a353;this[_0xbb6589(0x211)]();const _0x5932da={};_0x5932da[_0xbb6589(0x1d7)]=!![],fs[_0xbb6589(0x204)](this[_0xbb6589(0x1ea)],_0x5932da);}static[a40_0x25a353(0x1f1)](){const _0x22393a=a40_0x25a353,_0x300945={};_0x300945[_0x22393a(0x1e9)]=function(_0x2aa3ef,_0x2f8082){return _0x2aa3ef+_0x2f8082;},_0x300945[_0x22393a(0x207)]=function(_0xfbd70d,_0xb2ca4){return _0xfbd70d+_0xb2ca4;};const _0x579a34=_0x300945;return _0x579a34[_0x22393a(0x1e9)](_0x579a34[_0x22393a(0x207)](TEMP_STORE_DIR_NAME,'-'),process[_0x22393a(0x1db)]['BS_TESTOPS_BUILD_HASHED_ID']);}static[a40_0x25a353(0x1f3)](_0x12e14d){const _0x56ea4b=a40_0x25a353,_0x10fc1f={};_0x10fc1f['ERIHN']=function(_0x5bd08f,_0x169531){return _0x5bd08f+_0x169531;},_0x10fc1f[_0x56ea4b(0x1f8)]=_0x56ea4b(0x1ee);const _0x4f0d9b=_0x10fc1f;return path[_0x56ea4b(0x216)](this[_0x56ea4b(0x1ea)],_0x4f0d9b[_0x56ea4b(0x1e6)](_0x12e14d,_0x4f0d9b['BZjZq']));}static[a40_0x25a353(0x209)](_0x301bcd){const _0x1ba1b4=a40_0x25a353,_0x386cd5={};_0x386cd5[_0x1ba1b4(0x1f7)]=function(_0x11c9c8,_0x2fb826){return _0x11c9c8+_0x2fb826;},_0x386cd5[_0x1ba1b4(0x1e0)]=function(_0x3aff03,_0x191460){return _0x3aff03+_0x191460;},_0x386cd5['YiJVu']=function(_0x22bbdf,_0x17d0b6){return _0x22bbdf+_0x17d0b6;},_0x386cd5[_0x1ba1b4(0x1d6)]=function(_0x28a561,_0x39a7f0){return _0x28a561+_0x39a7f0;};const _0x3d44bf=_0x386cd5;return _0x3d44bf[_0x1ba1b4(0x1f7)](_0x3d44bf[_0x1ba1b4(0x1e0)](_0x3d44bf[_0x1ba1b4(0x1e5)](_0x3d44bf[_0x1ba1b4(0x1d6)](this['getProjectIdFromTestInfo'](_0x301bcd),'-'),this['getTestIdFromTestInfo'](_0x301bcd)),'-'),_0x301bcd[_0x1ba1b4(0x20e)]);}static[a40_0x25a353(0x1de)](_0x22479e){const _0x5d48bd=a40_0x25a353,_0x4dca60={'nhOfO':function(_0x382094,_0x24a902,_0x144cc0){return _0x382094(_0x24a902,_0x144cc0);},'aahpQ':_0x5d48bd(0x1f9),'OTbIH':_0x5d48bd(0x1e7),'TgTHP':'project','BBVuI':_0x5d48bd(0x20c)};return _0x4dca60[_0x5d48bd(0x1fd)](nestedKeyValue,_0x22479e,[_0x4dca60[_0x5d48bd(0x1d8)],_0x4dca60[_0x5d48bd(0x1ec)]])||_0x4dca60[_0x5d48bd(0x1fd)](nestedKeyValue,_0x22479e,[_0x4dca60['TgTHP'],_0x4dca60[_0x5d48bd(0x1f5)]]);}static[a40_0x25a353(0x200)](_0x531e81){const _0x18b7b1=a40_0x25a353,_0x522c00={'yarXA':function(_0x37f44a,_0x1b0921,_0x2162cd){return _0x37f44a(_0x1b0921,_0x2162cd);},'wChpN':_0x18b7b1(0x1f9)};return _0x522c00[_0x18b7b1(0x1da)](nestedKeyValue,_0x531e81,[_0x522c00[_0x18b7b1(0x1df)],'id'])||_0x531e81[_0x18b7b1(0x206)];}static[a40_0x25a353(0x217)](_0x49a234){const _0x568384=a40_0x25a353,_0x2f3411={'uCEby':function(_0xa9e011,_0x4ee229){return _0xa9e011===_0x4ee229;},'XXigQ':'string','ZGmyA':function(_0x7bfd8c){return _0x7bfd8c();}};if(this[_0x568384(0x20d)][_0x49a234]&&_0x2f3411[_0x568384(0x214)](typeof this[_0x568384(0x20d)][_0x49a234][_0x568384(0x1dd)],_0x2f3411['XXigQ']))return this[_0x568384(0x20d)][_0x49a234][_0x568384(0x1dd)];const _0x3abce7=this[_0x568384(0x1f3)](_0x49a234);if(fs['existsSync'](_0x3abce7)){const _0x391808=JSON['parse'](fs[_0x568384(0x1e1)](_0x3abce7)['toString']());return this[_0x568384(0x20d)][_0x49a234]=_0x391808,this['tests'][_0x49a234][_0x568384(0x1dd)];}return this[_0x568384(0x20d)][_0x49a234]={'uuid':_0x2f3411[_0x568384(0x1ff)](uuidv4)},fs[_0x568384(0x1d9)](_0x3abce7,JSON[_0x568384(0x1e2)](this[_0x568384(0x20d)][_0x49a234])),this[_0x568384(0x20d)][_0x49a234][_0x568384(0x1dd)];}static[a40_0x25a353(0x1eb)](_0xb9a7e){const _0x31d3cc=a40_0x25a353,_0x1d026f=path[_0x31d3cc(0x216)](this[_0x31d3cc(0x1ea)],_0xb9a7e+_0x31d3cc(0x1ed));if(fs[_0x31d3cc(0x20f)](_0x1d026f))return fs[_0x31d3cc(0x1e1)](_0x1d026f)[_0x31d3cc(0x1e4)]();}static[a40_0x25a353(0x1f4)](_0x4b1b80,_0x2cf1d3){const _0x1b54e9=a40_0x25a353,_0x40b009=path[_0x1b54e9(0x216)](this['dirPath'],_0x2cf1d3+_0x1b54e9(0x1ed));fs['writeFileSync'](_0x40b009,_0x4b1b80[_0x1b54e9(0x1e4)]());}static[a40_0x25a353(0x211)](){const _0x490454=a40_0x25a353,_0x2f43b5={};_0x2f43b5[_0x490454(0x1d7)]=!![],_0x2f43b5[_0x490454(0x20a)]=!![],fs[_0x490454(0x1ef)](this['dirPath'],_0x2f43b5);}static[a40_0x25a353(0x1d5)](_0x41d64d){const _0x3511bd=a40_0x25a353;if(this[_0x3511bd(0x20d)][_0x41d64d])return this[_0x3511bd(0x20d)][_0x41d64d];const _0x14c28a=this[_0x3511bd(0x1f3)](_0x41d64d);if(fs[_0x3511bd(0x20f)](_0x14c28a)){const _0x5463c4=JSON['parse'](fs[_0x3511bd(0x1e1)](_0x14c28a)['toString']());return this[_0x3511bd(0x20d)][_0x41d64d]=_0x5463c4,_0x5463c4;}return{};}static[a40_0x25a353(0x1f2)](_0x9e6b30,_0x18b7b5){const _0x45a67a=a40_0x25a353,_0x5d0188=this[_0x45a67a(0x1f3)](_0x9e6b30);if(fs['existsSync'](_0x5d0188)){const _0x3adef5=JSON[_0x45a67a(0x210)](fs['readFileSync'](_0x5d0188)[_0x45a67a(0x1e4)]()),_0x44dd86={..._0x3adef5,..._0x18b7b5};this[_0x45a67a(0x20d)][_0x9e6b30]=_0x44dd86;}else this['tests'][_0x9e6b30]=_0x18b7b5;fs[_0x45a67a(0x1d9)](_0x5d0188,this[_0x45a67a(0x20d)][_0x9e6b30]);}}function a40_0x2fc6(_0xa85003,_0x298fff){const _0x2a24f4=a40_0x2a24();return a40_0x2fc6=function(_0x2fc642,_0xa8b47){_0x2fc642=_0x2fc642-0x1d5;let _0x475d1d=_0x2a24f4[_0x2fc642];return _0x475d1d;},a40_0x2fc6(_0xa85003,_0x298fff);}module[a40_0x25a353(0x1dc)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a41_0x33d8c1=a41_0xe404;(function(_0x5c5ee8,_0x15da35){const _0x180b66=a41_0xe404,_0x6ab0dc=_0x5c5ee8();while(!![]){try{const _0x20a934=-parseInt(_0x180b66(0x16e))/0x1*(parseInt(_0x180b66(0x190))/0x2)+parseInt(_0x180b66(0x120))/0x3+-parseInt(_0x180b66(0x1b6))/0x4+parseInt(_0x180b66(0x13f))/0x5+-parseInt(_0x180b66(0x16a))/0x6+-parseInt(_0x180b66(0x18a))/0x7+-parseInt(_0x180b66(0x1a4))/0x8*(-parseInt(_0x180b66(0x19a))/0x9);if(_0x20a934===_0x15da35)break;else _0x6ab0dc['push'](_0x6ab0dc['shift']());}catch(_0x2965b8){_0x6ab0dc['push'](_0x6ab0dc['shift']());}}}(a41_0x5495,0x7c24d));function a41_0xe404(_0x5e61e3,_0x220f7e){const _0x5495db=a41_0x5495();return a41_0xe404=function(_0xe40475,_0x5bfd40){_0xe40475=_0xe40475-0x11b;let _0x1878c8=_0x5495db[_0xe40475];return _0x1878c8;},a41_0xe404(_0x5e61e3,_0x220f7e);}function a41_0x5495(){const _0x45f5c3=['currentSessionDetails','caps','roxgt','DfmKs','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','jyxpt','kwExq','dnbqN','KyaAL','ihMmu','platformName','dispatch','platform_version','assign','DmyEq','format','sessionError','bstackPerformA11yScan','sessionId','NuOkf','../../helpers/accessibility-automation/helper','../../helpers/logger','../../helpers/test-observability/error-handler','accessibilityPlatform','../../bin/playwright/accessibility-helper','heysp','_browserType','EaBhE','Ywfov','yFrtc','parse','_type','browserName','firefox','pwPage','QhYMe','client','iskDU','currentTest','debug','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','186198fkpTMT','Connection','lib','__workerDetails','876581gVEonr','fromEntries','shouldWrapCommand','browserstack.com','NOknc','zBOFT','Error\x20in\x20finding\x20platform\x20details\x20','env','WNCCg','join','lNlql','getDetails','crConnection.js','aHdYR','use','apply','JOIph','nvQUL','prototype','jCNUw','wjcnk','PbBKK','Performing\x20scan\x20for\x20','wsEndpoint','util','OLipw','BnxoH','KEOvQ','3633434gXLRWr','bsSessionId','EchYl','browser_version','./accessibility-helper','chrome','2MMZWlV','mdlYk','Rtzxz','connection.js','OdShV','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','patchConnection','gZyCe','testInfo','performScan','99JjxtIv','platformVersion','entries','UJDZm','gUgkZ','hKZEc','../../helpers/test-observability/utils','OyMGh','TrzeS','cloudProvider','211176ldzkkF','playwright-','CRConnection','_onMessage','chromium','_connection','server','automate','browserstack','local_grid','isRemote','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','platformDetails','setupBrowserDetails','Failed\x20to\x20perform\x20scan\x20','safari','query','capabilities','246220dpPWKW','../../helpers/helper','unknown_grid','Error\x20in\x20importing\x20connection\x20','defineProperty','tKPAF','project','_defaultConnectOptions','oWHYa','2095113XlZgtJ','titlePath','includes','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/accessibility-automation/scripts','edge','sendMessageToServer','__driver','url','browser','gKGYH','sCZBL','htWfs','rKIFU','method','XZwyM','fMhnZ','platform','channel','params','toString','patchCRConnection','oPoAi','Error\x20in\x20importing\x20crConnection','iEdfP','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','EFBjx','Not\x20able\x20to\x20import\x20Connection','exports','product','Page','5039930oCoFQS','RZSAq'];a41_0x5495=function(){return _0x45f5c3;};return a41_0x5495();}const path=require('path'),url=require(a41_0x33d8c1(0x128)),util=require(a41_0x33d8c1(0x186)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a41_0x33d8c1(0x1b7)),{o11yErrorHandler}=require(a41_0x33d8c1(0x157)),{debug,getPlatformDetails}=require(a41_0x33d8c1(0x1a0)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a41_0x33d8c1(0x155)),logger=require(a41_0x33d8c1(0x156))['winstonLogger'],scripts=require(a41_0x33d8c1(0x124)),{browserStackExecuteDriver}=require(a41_0x33d8c1(0x159)),AccessibilityHelper=require(a41_0x33d8c1(0x18e)),getBrowserNameFromChannel=_0x5644db=>{const _0x175116=a41_0x33d8c1,_0xb22743={};_0xb22743[_0x175116(0x17f)]=_0x175116(0x18f),_0xb22743[_0x175116(0x11c)]=_0x175116(0x125),_0xb22743['hKZEc']=_0x175116(0x162),_0xb22743['JOIph']=_0x175116(0x1b3);const _0x4af8bd=_0xb22743;if(_0x5644db[_0x175116(0x122)](_0x4af8bd[_0x175116(0x17f)]))return _0x4af8bd[_0x175116(0x17f)];if(_0x5644db[_0x175116(0x122)](_0x4af8bd[_0x175116(0x11c)]))return _0x4af8bd[_0x175116(0x11c)];if(_0x5644db[_0x175116(0x122)](_0x4af8bd[_0x175116(0x19f)]))return _0x4af8bd['hKZEc'];if(_0x5644db[_0x175116(0x122)](_0x4af8bd[_0x175116(0x17e)]))return _0x4af8bd['JOIph'];},getBrowserFromWSEndpoint=_0x19fd79=>{const _0x27ea94=a41_0x33d8c1,_0x561eda={'EFBjx':'chrome','roxgt':function(_0x8761c,_0x5aca20){return _0x8761c(_0x5aca20);}};try{const _0x13afd3=url[_0x27ea94(0x15f)](_0x19fd79),_0xc96c7=new URLSearchParams(_0x13afd3[_0x27ea94(0x1b4)]),_0x17ef2b=Object[_0x27ea94(0x16f)](_0xc96c7[_0x27ea94(0x19c)]()),_0x5545d1=JSON[_0x27ea94(0x15f)](_0x17ef2b[_0x27ea94(0x142)]);if(_0x5545d1&&(_0x5545d1[_0x27ea94(0x129)]||_0x5545d1[_0x27ea94(0x161)]))return _0x5545d1[_0x27ea94(0x129)]||_0x5545d1[_0x27ea94(0x161)];return _0x561eda[_0x27ea94(0x13a)];}catch(_0x320a2a){_0x561eda[_0x27ea94(0x143)](debug,_0x27ea94(0x1af)+_0x320a2a['toString']());}},getCloudProviderFromWsEndpoint=_0x5cdc99=>{const _0x1514f6=a41_0x33d8c1,_0x4b0486={};_0x4b0486['uTiax']=_0x1514f6(0x171),_0x4b0486[_0x1514f6(0x12c)]=_0x1514f6(0x1ac),_0x4b0486[_0x1514f6(0x1a2)]=_0x1514f6(0x1b8);const _0x184799=_0x4b0486;if(_0x5cdc99['includes'](_0x184799['uTiax']))return _0x184799['htWfs'];return _0x184799['TrzeS'];},a41_0xe5d063={};a41_0xe5d063[a41_0x33d8c1(0x1a3)]=undefined,a41_0xe5d063[a41_0x33d8c1(0x18b)]=undefined,a41_0xe5d063[a41_0x33d8c1(0x129)]=undefined,a41_0xe5d063[a41_0x33d8c1(0x18d)]=undefined,a41_0xe5d063['platform']=undefined,a41_0xe5d063['platform_version']=undefined,a41_0xe5d063[a41_0x33d8c1(0x13d)]=undefined,a41_0xe5d063['capabilities']={};class PlaywrightSessionDetails{static [a41_0x33d8c1(0x141)]=a41_0xe5d063;constructor(){const _0x11efba=a41_0x33d8c1,_0x180f00={};_0x180f00[_0x11efba(0x164)]=_0x11efba(0x139);const _0x87fb5e=_0x180f00;throw new Error(_0x87fb5e['QhYMe']);}static ['sessionError']=null;static[a41_0x33d8c1(0x1b1)](_0x2fa18f,_0xef144e,_0x50b7c1=null){const _0x470750=a41_0x33d8c1,_0x578651={'jyxpt':_0x470750(0x1ad),'EQNEI':function(_0x25a415,_0x22c521,_0x267e1d){return _0x25a415(_0x22c521,_0x267e1d);},'iskDU':_0x470750(0x11d),'AbYsb':_0x470750(0x17c),'alpYM':'connectOptions','EaBhE':function(_0x1b5cbf,_0xc41ca0){return _0x1b5cbf(_0xc41ca0);},'wjcnk':function(_0xff9fd0,_0x4fd3ef){return _0xff9fd0===_0x4fd3ef;},'zBOFT':_0x470750(0x1ac),'NOknc':_0x470750(0x1ab),'VSWcZ':function(_0x121e96,_0x2023a2){return _0x121e96(_0x2023a2);},'AAFZH':function(_0x3846a5,_0x3dc05b){return _0x3846a5(_0x3dc05b);},'ihMmu':function(_0x5395ec,_0x398d83){return _0x5395ec+_0x398d83;},'Rtzxz':_0x470750(0x1a5),'NuOkf':function(_0x199de1){return _0x199de1();},'jCNUw':function(_0x55fd67,_0x400afd,_0x5c5900){return _0x55fd67(_0x400afd,_0x5c5900);},'rKIFU':'setupBrowserDetails'},_0x7697df=this;return _0x578651[_0x470750(0x181)](o11yErrorHandler,async function _0x876171(_0x3a6e69,_0x464f62,_0x471d5d=null){const _0x4ee66b=_0x470750;let _0x52c96c=_0x3a6e69['_name'];const _0x4751d1=_0x3a6e69['version']();let _0x104a20=null,_0x51824f=null,_0x523018=null,_0x3bca20=_0x578651[_0x4ee66b(0x146)];if(_0x3a6e69[_0x4ee66b(0x1a9)][_0x4ee66b(0x1ae)]()||global[_0x4ee66b(0x158)]){const _0x1995bd=_0x3a6e69[_0x4ee66b(0x15b)][_0x4ee66b(0x11e)]||_0x578651['EQNEI'](nestedKeyValue,_0x464f62,[_0x578651[_0x4ee66b(0x166)],_0x578651['AbYsb'],_0x578651['alpYM']]),_0x16b1a3=_0x471d5d||_0x1995bd&&_0x1995bd[_0x4ee66b(0x185)];_0x16b1a3&&(_0x3bca20=_0x578651[_0x4ee66b(0x15c)](getCloudProviderFromWsEndpoint,_0x16b1a3),_0x578651[_0x4ee66b(0x182)](_0x3bca20,_0x578651[_0x4ee66b(0x173)])&&(_0x523018=_0x578651[_0x4ee66b(0x172)],_0x52c96c=_0x578651['VSWcZ'](getBrowserFromWSEndpoint,_0x16b1a3)||_0x52c96c,_0x104a20=_0x7697df['currentSessionDetails'][_0x4ee66b(0x131)],_0x51824f=_0x7697df[_0x4ee66b(0x141)][_0x4ee66b(0x14d)]));}else{_0x464f62&&_0x464f62[_0x4ee66b(0x11d)][_0x4ee66b(0x17c)][_0x4ee66b(0x132)]?_0x52c96c=_0x578651['AAFZH'](getBrowserNameFromChannel,_0x464f62[_0x4ee66b(0x11d)]['use'][_0x4ee66b(0x132)]):_0x52c96c=_0x578651[_0x4ee66b(0x14a)](_0x578651[_0x4ee66b(0x192)],_0x52c96c['toLowerCase']());const _0x650288=await _0x578651[_0x4ee66b(0x154)](getPlatformDetails);_0x104a20=_0x650288[_0x4ee66b(0x14b)],_0x51824f=_0x650288[_0x4ee66b(0x19b)];}const _0x3dcbeb={};_0x3dcbeb[_0x4ee66b(0x129)]=_0x52c96c,_0x3dcbeb['browser_version']=_0x4751d1,_0x3dcbeb[_0x4ee66b(0x1b5)]={},_0x3dcbeb[_0x4ee66b(0x131)]=_0x104a20,_0x3dcbeb['platform_version']=_0x51824f,_0x3dcbeb[_0x4ee66b(0x13d)]=_0x523018;const _0xf9ddfc=_0x3dcbeb,_0x50277b={};_0x50277b['cloudProvider']=_0x3bca20,_0x7697df[_0x4ee66b(0x141)]=Object[_0x4ee66b(0x14e)]({},_0x7697df[_0x4ee66b(0x141)],_0x50277b,_0xf9ddfc);},_0x578651[_0x470750(0x12d)])(_0x2fa18f,_0xef144e,_0x50b7c1);}static['patch'](){const _0x16fcbb=a41_0x33d8c1;this[_0x16fcbb(0x196)](),this[_0x16fcbb(0x135)]();}static[a41_0x33d8c1(0x196)](){const _0x65038=a41_0x33d8c1,_0x57ad24={'EchYl':function(_0x40a8bd,_0x5a742a,_0x55e5ac){return _0x40a8bd(_0x5a742a,_0x55e5ac);},'OyMGh':_0x65038(0x167),'iEdfP':_0x65038(0x198),'JZTsG':_0x65038(0x121),'KEOvQ':function(_0x3432f1,_0x3f5c4f,_0x4d805a){return _0x3432f1(_0x3f5c4f,_0x4d805a);},'PbBKK':_0x65038(0x16d),'lNlql':_0x65038(0x163),'UJDZm':function(_0x345e86,_0x56e110){return _0x345e86===_0x56e110;},'yFrtc':_0x65038(0x13e),'gUgkZ':function(_0x36c206,_0x1ad02f,_0x575259,_0x2fe482){return _0x36c206(_0x1ad02f,_0x575259,_0x2fe482);},'aHdYR':function(_0x3ec13d,_0x4fb3e7){return _0x3ec13d(_0x4fb3e7);},'WNCCg':function(_0x132532,_0x1ef55e){return _0x132532(_0x1ef55e);},'Ywfov':_0x65038(0x16c),'qxBgs':_0x65038(0x165),'dnbqN':_0x65038(0x193),'OdShV':_0x65038(0x13b),'DfmKs':function(_0x493934,_0x13c075){return _0x493934(_0x13c075);},'heysp':function(_0x1cc4d6,_0x542d0f){return _0x1cc4d6!=_0x542d0f;},'XZwyM':function(_0x149c2a){return _0x149c2a();},'KyaAL':_0x65038(0x126),'sCZBL':function(_0x409bd1,_0x8e133a){return _0x409bd1(_0x8e133a);},'oPoAi':_0x65038(0x14c)},_0x16132b=this;if(!this[_0x65038(0x16b)])try{const _0x40468c=path['join'](_0x57ad24[_0x65038(0x15d)],_0x57ad24['qxBgs'],_0x57ad24[_0x65038(0x148)]),_0x41b78a=_0x57ad24[_0x65038(0x17b)](importFileFromPWCore,_0x40468c);!_0x41b78a?_0x57ad24[_0x65038(0x176)](debug,_0x57ad24[_0x65038(0x194)]):this['Connection']=_0x41b78a[_0x65038(0x16b)];}catch(_0x3e380d){_0x57ad24['DfmKs'](debug,_0x65038(0x1b9)+_0x3e380d['toString']());}const _0x4a7944=this[_0x65038(0x16b)];try{if(_0x57ad24[_0x65038(0x15a)](_0x4a7944,null)){const _0x571eca=_0x4a7944[_0x65038(0x180)][_0x65038(0x14c)],_0x2253bf=_0x4a7944[_0x65038(0x180)][_0x65038(0x126)];_0x57ad24[_0x65038(0x12f)](isAccessibilityAutomationSession)&&Object['defineProperty'](_0x4a7944['prototype'],_0x57ad24[_0x65038(0x149)],{'get':function(){return async function(){const _0x47736d=a41_0xe404;try{if(!global[_0x47736d(0x152)]&&global['accessibilityPlatform']&&_0x57ad24[_0x47736d(0x18c)](nestedKeyValue,global[_0x47736d(0x16d)],[_0x57ad24[_0x47736d(0x1a1)],_0x57ad24[_0x47736d(0x138)],_0x57ad24['JZTsG']])&&_0x57ad24['EchYl'](shouldScanTestForAccessibility,global[_0x47736d(0x16d)][_0x47736d(0x167)]['testInfo']['titlePath'],!![])&&scripts[_0x47736d(0x170)](arguments[0x1])){logger['debug'](_0x47736d(0x184)+arguments[0x1]),global[_0x47736d(0x152)]=!![];const _0x50ac8a=_0x57ad24[_0x47736d(0x189)](nestedKeyValue,global,[_0x57ad24[_0x47736d(0x183)],_0x57ad24[_0x47736d(0x178)]]),_0xb16e56={};_0xb16e56['method']=arguments[0x1],_0x50ac8a&&logger[_0x47736d(0x168)](util[_0x47736d(0x150)](await AccessibilityHelper[_0x47736d(0x199)](_0x50ac8a,_0xb16e56)));if(_0x57ad24[_0x47736d(0x19d)](arguments[0x0][_0x47736d(0x160)],_0x57ad24[_0x47736d(0x15e)])&&global[_0x47736d(0x127)]){const _0x244a2a={};_0x244a2a[_0x47736d(0x12e)]=arguments[0x1],await _0x57ad24[_0x47736d(0x19e)](browserStackExecuteDriver,global[_0x47736d(0x127)],scripts[_0x47736d(0x199)],_0x244a2a);}}}catch(_0xeb5ef6){logger[_0x47736d(0x168)](_0x47736d(0x1b2)+util[_0x47736d(0x150)](_0xeb5ef6));}return global[_0x47736d(0x152)]=![],_0x2253bf[_0x47736d(0x17d)](this,arguments);};}}),!_0x57ad24[_0x65038(0x12b)](isFalse,process[_0x65038(0x175)][_0x65038(0x123)])&&Object[_0x65038(0x11b)](_0x4a7944[_0x65038(0x180)],_0x57ad24[_0x65038(0x136)],{'get':function(){return function _0x2804e9(_0x7a28cd){const _0x2c7ea6=a41_0xe404,_0x3b1d6e=_0x7a28cd&&_0x7a28cd[_0x2c7ea6(0x133)]&&_0x7a28cd[_0x2c7ea6(0x133)]['bsParams'];if(_0x3b1d6e){const _0x478f40=_0x3b1d6e['sessionId'],_0x464c71=_0x3b1d6e[_0x2c7ea6(0x1b0)];_0x464c71&&(_0x57ad24['aHdYR'](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x464c71['toString']()),_0x16132b['currentSessionDetails']['platform']=_0x464c71[_0x2c7ea6(0x14b)],_0x16132b[_0x2c7ea6(0x141)][_0x2c7ea6(0x14d)]=_0x464c71[_0x2c7ea6(0x19b)]),_0x478f40&&(_0x57ad24[_0x2c7ea6(0x176)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x478f40),_0x16132b[_0x2c7ea6(0x141)][_0x2c7ea6(0x18b)]=_0x478f40);}return _0x571eca['apply'](this,arguments);};}});}}catch(_0x1ae472){_0x57ad24[_0x65038(0x144)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x1ae472),_0x16132b[_0x65038(0x151)]=_0x1ae472[_0x65038(0x134)]();}}static['patchCRConnection'](){const _0x5b752e=a41_0x33d8c1,_0x4fcdbc={'RZSAq':function(_0x1215e2,_0x3d7016){return _0x1215e2(_0x3d7016);},'BnxoH':function(_0x37fa90,_0x28072a){return _0x37fa90(_0x28072a);},'gKGYH':function(_0x243b5f,_0x5b5d89){return _0x243b5f(_0x5b5d89);},'fMhnZ':function(_0xeef85b){return _0xeef85b();},'kwExq':_0x5b752e(0x16c),'DmyEq':_0x5b752e(0x1aa),'OLipw':_0x5b752e(0x1a8),'oWHYa':_0x5b752e(0x17a),'WfXQy':function(_0x55a371,_0x1e702b){return _0x55a371(_0x1e702b);},'JoUiN':'Not\x20able\x20to\x20import\x20crConnection','pQgMw':_0x5b752e(0x137),'gZyCe':function(_0x4e6b1e,_0x518577){return _0x4e6b1e!=_0x518577;},'mdlYk':_0x5b752e(0x1a7)},_0x45e1d2=this;if(_0x4fcdbc[_0x5b752e(0x130)](isAccessibilityAutomationSession)){let _0x482b55=null;try{const _0x31dc02=path[_0x5b752e(0x177)](_0x4fcdbc[_0x5b752e(0x147)],_0x4fcdbc[_0x5b752e(0x14f)],_0x4fcdbc[_0x5b752e(0x187)],_0x4fcdbc[_0x5b752e(0x11f)]),_0x80c30a=_0x4fcdbc[_0x5b752e(0x12a)](importFileFromPWCore,_0x31dc02);!_0x80c30a?_0x4fcdbc['WfXQy'](debug,_0x4fcdbc['JoUiN']):_0x482b55=_0x80c30a[_0x5b752e(0x1a6)];}catch(_0x8b45e0){_0x4fcdbc[_0x5b752e(0x188)](debug,_0x4fcdbc['pQgMw']);}try{if(_0x4fcdbc[_0x5b752e(0x197)](_0x482b55,null)){const _0x49b69e=_0x482b55['prototype']['_onMessage'];Object['defineProperty'](_0x482b55[_0x5b752e(0x180)],_0x4fcdbc[_0x5b752e(0x191)],{'get':function(){return function _0x5c6afd(_0x35b33e){const _0x5b1a76=a41_0xe404;try{const _0x2bc9c3=_0x35b33e['bStackParams'];if(_0x2bc9c3){delete _0x35b33e['bStackParams'];const _0x200f64=_0x2bc9c3[_0x5b1a76(0x153)],_0x8945a6=_0x2bc9c3[_0x5b1a76(0x1b0)];_0x8945a6&&(_0x4fcdbc[_0x5b1a76(0x140)](debug,_0x5b1a76(0x195)+_0x8945a6['toString']()),_0x45e1d2['currentSessionDetails'][_0x5b1a76(0x131)]=_0x8945a6[_0x5b1a76(0x14b)],_0x45e1d2[_0x5b1a76(0x141)]['platform_version']=_0x8945a6[_0x5b1a76(0x19b)]),_0x200f64&&(_0x4fcdbc[_0x5b1a76(0x188)](debug,_0x5b1a76(0x145)+_0x200f64),_0x45e1d2[_0x5b1a76(0x141)][_0x5b1a76(0x18b)]=_0x200f64);}}catch(_0x2b9749){_0x4fcdbc[_0x5b1a76(0x12a)](debug,_0x5b1a76(0x174)+_0x2b9749['toString']());}return _0x49b69e['apply'](this,arguments);};}});}}catch(_0x20939e){_0x4fcdbc['BnxoH'](debug,_0x5b752e(0x169)+_0x20939e),_0x45e1d2[_0x5b752e(0x151)]=_0x20939e['toString']();}}}static[a41_0x33d8c1(0x179)](){const _0x325156=a41_0x33d8c1;return this[_0x325156(0x141)];}}module[a41_0x33d8c1(0x13c)]=PlaywrightSessionDetails;
|
|
1
|
+
function a41_0x33bd(){const _0x2385d2=['browser','pwPage','_type','automate','includes','36TbZdlL','oyGtu','lib','../../bin/playwright/accessibility-helper','kihzd','WuTrZ','_name','safari','isRemote','method','MvHRS','defineProperty','../../helpers/helper','toString','platformDetails','bKEuu','setupBrowserDetails','Connection','product','dispatch','../../helpers/accessibility-automation/scripts','Not\x20able\x20to\x20import\x20crConnection','56EBrBxq','capabilities','../../helpers/test-observability/error-handler','xTFHX','14862izIICe','browserName','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','CRConnection','LqIsE','kocZW','125755FoAGvZ','Page','Qlbwu','chromium','bxNFu','DEqQn','params','Error\x20in\x20finding\x20platform\x20details\x20','DeTht','../../helpers/test-observability/utils','server','614UxmamR','toLowerCase','accessibilityPlatform','connection.js','chrome','936612zbttwv','prototype','playwright-','channel','format','testInfo','yEPsa','FoesG','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','performScan','sXCqk','assign','Error\x20in\x20importing\x20connection\x20','MTjIc','version','88518HGApuP','Setting\x20session\x20id\x20received\x20from\x20BS\x20','sendMessageToServer','_connection','KKMyk','currentTest','sessionError','YNRwH','220kNvFRl','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','HVNPO','SZjpF','titlePath','__driver','../../helpers/logger','69304ojfyRy','platform_version','browser_version','join','entries','winstonLogger','DtIci','AXNqp','_defaultConnectOptions','debug','ydXPC','wZzRo','YTJuA','__workerDetails','util','bUkQS','platform','AYVCg','edge','bstackPerformA11yScan','lqyMQ','use','BROWSERSTACK_TEST_OBSERVABILITY','hYywh','oNTmj','patchConnection','LzJfX','query','VvjVY','gdmSM','browserstack.com','IQHPM','patch','platformVersion','rHfKy','TqfYu','8173ZNGWhu','path','bStackParams','wsEndpoint','client','browserstack','489352gsUQDW','platformName','parse','VEjEK','kasKY','OqAKU','bsSessionId','DyJvg','project','GhYiQ','Error\x20in\x20importing\x20crConnection','../../helpers/accessibility-automation/helper','234osPSax','UWsYB','fefKF','isDff','yUsxI','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','BDsXj','uBpDg','_onMessage','104XdYRpN','patchCRConnection','sessionId','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','currentSessionDetails','FDyrm','aGwLE','bsParams','firefox'];a41_0x33bd=function(){return _0x2385d2;};return a41_0x33bd();}const a41_0x431893=a41_0x4173;function a41_0x4173(_0x4fbd91,_0xb5647d){const _0x33bd5a=a41_0x33bd();return a41_0x4173=function(_0x4173c6,_0x349483){_0x4173c6=_0x4173c6-0xba;let _0x498712=_0x33bd5a[_0x4173c6];return _0x498712;},a41_0x4173(_0x4fbd91,_0xb5647d);}(function(_0x675303,_0x4e4ab3){const _0x58668f=a41_0x4173,_0x3aa801=_0x675303();while(!![]){try{const _0xd828c6=parseInt(_0x58668f(0x149))/0x1+parseInt(_0x58668f(0xfc))/0x2*(parseInt(_0x58668f(0xeb))/0x3)+parseInt(_0x58668f(0xd1))/0x4*(-parseInt(_0x58668f(0xf1))/0x5)+parseInt(_0x58668f(0x110))/0x6*(-parseInt(_0x58668f(0xe7))/0x7)+parseInt(_0x58668f(0x11f))/0x8*(-parseInt(_0x58668f(0xba))/0x9)+-parseInt(_0x58668f(0x118))/0xa*(-parseInt(_0x58668f(0x143))/0xb)+parseInt(_0x58668f(0x101))/0xc*(-parseInt(_0x58668f(0xc3))/0xd);if(_0xd828c6===_0x4e4ab3)break;else _0x3aa801['push'](_0x3aa801['shift']());}catch(_0x2c0e2b){_0x3aa801['push'](_0x3aa801['shift']());}}}(a41_0x33bd,0xcb423));const path=require(a41_0x431893(0x144)),url=require('url'),util=require(a41_0x431893(0x12d)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a41_0x431893(0xdd)),{o11yErrorHandler}=require(a41_0x431893(0xe9)),{debug,getPlatformDetails}=require(a41_0x431893(0xfa)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a41_0x431893(0x154)),logger=require(a41_0x431893(0x11e))[a41_0x431893(0x124)],scripts=require(a41_0x431893(0xe5)),{browserStackExecuteDriver}=require(a41_0x431893(0xd4)),AccessibilityHelper=require('./accessibility-helper'),getBrowserNameFromChannel=_0x58f464=>{const _0x234295=a41_0x431893,_0x1d8518={};_0x1d8518[_0x234295(0xf9)]='chrome',_0x1d8518[_0x234295(0x11a)]=_0x234295(0x131),_0x1d8518[_0x234295(0x152)]=_0x234295(0xcb),_0x1d8518[_0x234295(0x14e)]=_0x234295(0xd8);const _0x563989=_0x1d8518;if(_0x58f464[_0x234295(0xd0)](_0x563989[_0x234295(0xf9)]))return _0x563989[_0x234295(0xf9)];if(_0x58f464[_0x234295(0xd0)](_0x563989[_0x234295(0x11a)]))return _0x563989[_0x234295(0x11a)];if(_0x58f464[_0x234295(0xd0)](_0x563989[_0x234295(0x152)]))return _0x563989[_0x234295(0x152)];if(_0x58f464[_0x234295(0xd0)](_0x563989[_0x234295(0x14e)]))return _0x563989[_0x234295(0x14e)];},getBrowserFromWSEndpoint=_0x4fdb05=>{const _0x574c6e=a41_0x431893,_0x5d37ce={'MTjIc':_0x574c6e(0x100),'kocZW':function(_0x19ad4c,_0x3c9442){return _0x19ad4c(_0x3c9442);}};try{const _0x576e4d=url[_0x574c6e(0x14b)](_0x4fdb05),_0x154583=new URLSearchParams(_0x576e4d[_0x574c6e(0x13a)]),_0x51a8cc=Object['fromEntries'](_0x154583[_0x574c6e(0x123)]()),_0x140752=JSON[_0x574c6e(0x14b)](_0x51a8cc['caps']);if(_0x140752&&(_0x140752[_0x574c6e(0xcc)]||_0x140752['browserName']))return _0x140752[_0x574c6e(0xcc)]||_0x140752[_0x574c6e(0xec)];return _0x5d37ce[_0x574c6e(0x10e)];}catch(_0x3e7e7e){_0x5d37ce[_0x574c6e(0xf0)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x3e7e7e[_0x574c6e(0xde)]());}},getCloudProviderFromWsEndpoint=_0x25ff84=>{const _0x2d73df=a41_0x431893,_0x32895c={};_0x32895c['yUsxI']=_0x2d73df(0x13d),_0x32895c['AYVCg']=_0x2d73df(0x148),_0x32895c[_0x2d73df(0xd6)]='unknown_grid';const _0x5019e4=_0x32895c;if(_0x25ff84[_0x2d73df(0xd0)](_0x5019e4[_0x2d73df(0xbe)]))return _0x5019e4[_0x2d73df(0x130)];return _0x5019e4[_0x2d73df(0xd6)];},a41_0x2eea9d={};a41_0x2eea9d['cloudProvider']=undefined,a41_0x2eea9d[a41_0x431893(0x14f)]=undefined,a41_0x2eea9d[a41_0x431893(0xcc)]=undefined,a41_0x2eea9d[a41_0x431893(0x121)]=undefined,a41_0x2eea9d[a41_0x431893(0x12f)]=undefined,a41_0x2eea9d[a41_0x431893(0x120)]=undefined,a41_0x2eea9d[a41_0x431893(0xe3)]=undefined,a41_0x2eea9d[a41_0x431893(0xe8)]={};class PlaywrightSessionDetails{static [a41_0x431893(0xc7)]=a41_0x2eea9d;constructor(){const _0x4797d3=a41_0x431893,_0xd12ee5={};_0xd12ee5[_0x4797d3(0x129)]=_0x4797d3(0xbf);const _0x1a0434=_0xd12ee5;throw new Error(_0x1a0434['ydXPC']);}static [a41_0x431893(0x116)]=null;static[a41_0x431893(0xe1)](_0x400130,_0x352ae3,_0x4d1ef9=null){const _0x5a2f95=a41_0x431893,_0x55c404={'AXNqp':'local_grid','IYQOw':function(_0x55e0b1,_0x289199,_0x2053fb){return _0x55e0b1(_0x289199,_0x2053fb);},'YTJuA':_0x5a2f95(0x151),'gwSZL':_0x5a2f95(0x134),'FoesG':'connectOptions','xhNwh':function(_0x187027,_0xa55fab){return _0x187027(_0xa55fab);},'YNRwH':function(_0x577630,_0x3896a3){return _0x577630===_0x3896a3;},'kasKY':'browserstack','TqfYu':_0x5a2f95(0xcf),'fKHnr':function(_0x3b2212,_0x4c25de){return _0x3b2212(_0x4c25de);},'KkwOW':function(_0x5207ab,_0x47b2d8){return _0x5207ab(_0x47b2d8);},'MvHRS':function(_0x5d8e8a,_0x4a2faf){return _0x5d8e8a+_0x4a2faf;},'VEjEK':_0x5a2f95(0x103),'oyGtu':function(_0x1210d){return _0x1210d();},'VtCoE':function(_0x1d36c1,_0x5f3c6f,_0x4b8d70){return _0x1d36c1(_0x5f3c6f,_0x4b8d70);},'uBpDg':_0x5a2f95(0xe1)},_0x169d43=this;return _0x55c404['VtCoE'](o11yErrorHandler,async function _0x5130e7(_0x1733ee,_0x26cabc,_0x303bf9=null){const _0x4d56cf=_0x5a2f95;let _0x229691=_0x1733ee[_0x4d56cf(0xd7)];const _0x15086f=_0x1733ee[_0x4d56cf(0x10f)]();let _0x3a629e=null,_0x22c3c1=null,_0x3dc705=null,_0x5b953d=_0x55c404[_0x4d56cf(0x126)];if(_0x1733ee[_0x4d56cf(0x113)][_0x4d56cf(0xd9)]()||global[_0x4d56cf(0xfe)]){const _0x15eeff=_0x1733ee['_browserType'][_0x4d56cf(0x127)]||_0x55c404['IYQOw'](nestedKeyValue,_0x26cabc,[_0x55c404[_0x4d56cf(0x12b)],_0x55c404['gwSZL'],_0x55c404[_0x4d56cf(0x108)]]),_0x3382a2=_0x303bf9||_0x15eeff&&_0x15eeff[_0x4d56cf(0x146)];_0x3382a2&&(_0x5b953d=_0x55c404['xhNwh'](getCloudProviderFromWsEndpoint,_0x3382a2),_0x55c404[_0x4d56cf(0x117)](_0x5b953d,_0x55c404[_0x4d56cf(0x14d)])&&(_0x3dc705=_0x55c404[_0x4d56cf(0x142)],_0x229691=_0x55c404['fKHnr'](getBrowserFromWSEndpoint,_0x3382a2)||_0x229691,_0x3a629e=_0x169d43['currentSessionDetails'][_0x4d56cf(0x12f)],_0x22c3c1=_0x169d43[_0x4d56cf(0xc7)][_0x4d56cf(0x120)]));}else{_0x26cabc&&_0x26cabc['project']['use'][_0x4d56cf(0x104)]?_0x229691=_0x55c404['KkwOW'](getBrowserNameFromChannel,_0x26cabc[_0x4d56cf(0x151)][_0x4d56cf(0x134)][_0x4d56cf(0x104)]):_0x229691=_0x55c404[_0x4d56cf(0xdb)](_0x55c404[_0x4d56cf(0x14c)],_0x229691[_0x4d56cf(0xfd)]());const _0x41c755=await _0x55c404[_0x4d56cf(0xd2)](getPlatformDetails);_0x3a629e=_0x41c755[_0x4d56cf(0x14a)],_0x22c3c1=_0x41c755[_0x4d56cf(0x140)];}const _0x5d93d8={};_0x5d93d8['browser']=_0x229691,_0x5d93d8[_0x4d56cf(0x121)]=_0x15086f,_0x5d93d8['capabilities']={},_0x5d93d8[_0x4d56cf(0x12f)]=_0x3a629e,_0x5d93d8[_0x4d56cf(0x120)]=_0x22c3c1,_0x5d93d8[_0x4d56cf(0xe3)]=_0x3dc705;const _0x1ae576=_0x5d93d8,_0x318081={};_0x318081['cloudProvider']=_0x5b953d,_0x169d43[_0x4d56cf(0xc7)]=Object[_0x4d56cf(0x10c)]({},_0x169d43[_0x4d56cf(0xc7)],_0x318081,_0x1ae576);},_0x55c404[_0x5a2f95(0xc1)])(_0x400130,_0x352ae3,_0x4d1ef9);}static[a41_0x431893(0x13f)](){const _0x24846b=a41_0x431893;this[_0x24846b(0x138)](),this[_0x24846b(0xc4)]();}static['patchConnection'](){const _0x1e6ce7=a41_0x431893,_0x3f66e6={'rHfKy':function(_0xb06431,_0x932a73,_0x38adb8){return _0xb06431(_0x932a73,_0x38adb8);},'wQgkE':_0x1e6ce7(0x115),'oNTmj':'testInfo','gdmSM':_0x1e6ce7(0x11c),'DEqQn':function(_0x2ff8b5,_0x403b76,_0x3db18c){return _0x2ff8b5(_0x403b76,_0x3db18c);},'hSTAc':_0x1e6ce7(0x12c),'sXCqk':_0x1e6ce7(0xcd),'ESxCc':function(_0x2a0402,_0x107eb9){return _0x2a0402===_0x107eb9;},'Iqtqr':_0x1e6ce7(0xf2),'isDff':function(_0x58dac8,_0x354f97,_0x29cf51,_0x1c9f84){return _0x58dac8(_0x354f97,_0x29cf51,_0x1c9f84);},'UWsYB':function(_0x1c9ce4,_0x279845){return _0x1c9ce4(_0x279845);},'fefKF':function(_0x59cfde,_0x50a6b7){return _0x59cfde(_0x50a6b7);},'hYywh':_0x1e6ce7(0xd3),'xTFHX':_0x1e6ce7(0x147),'bvCcM':_0x1e6ce7(0xff),'kihzd':'Not\x20able\x20to\x20import\x20Connection','IQHPM':function(_0x4c1d38,_0x31a4c1){return _0x4c1d38(_0x31a4c1);},'lqyMQ':function(_0xe5be40,_0xed3809){return _0xe5be40!=_0xed3809;},'yEPsa':function(_0x1f21c3){return _0x1f21c3();},'SZjpF':'sendMessageToServer','BDsXj':function(_0x2b4c9b,_0x44cd72){return _0x2b4c9b(_0x44cd72);},'VvjVY':_0x1e6ce7(0xe4)},_0x56fb09=this;if(!this[_0x1e6ce7(0xe2)])try{const _0x51d8b7=path[_0x1e6ce7(0x122)](_0x3f66e6[_0x1e6ce7(0x136)],_0x3f66e6[_0x1e6ce7(0xea)],_0x3f66e6['bvCcM']),_0xea2e3a=_0x3f66e6['UWsYB'](importFileFromPWCore,_0x51d8b7);!_0xea2e3a?_0x3f66e6[_0x1e6ce7(0xbc)](debug,_0x3f66e6[_0x1e6ce7(0xd5)]):this['Connection']=_0xea2e3a[_0x1e6ce7(0xe2)];}catch(_0x4c07ef){_0x3f66e6[_0x1e6ce7(0x13e)](debug,_0x1e6ce7(0x10d)+_0x4c07ef[_0x1e6ce7(0xde)]());}const _0xce022=this['Connection'];try{if(_0x3f66e6[_0x1e6ce7(0x133)](_0xce022,null)){const _0x223e90=_0xce022[_0x1e6ce7(0x102)][_0x1e6ce7(0xe4)],_0x5b589a=_0xce022[_0x1e6ce7(0x102)][_0x1e6ce7(0x112)];_0x3f66e6[_0x1e6ce7(0x107)](isAccessibilityAutomationSession)&&Object[_0x1e6ce7(0xdc)](_0xce022[_0x1e6ce7(0x102)],_0x3f66e6[_0x1e6ce7(0x11b)],{'get':function(){return async function(){const _0x36679f=a41_0x4173;try{if(!global[_0x36679f(0x132)]&&global[_0x36679f(0xfe)]&&_0x3f66e6[_0x36679f(0x141)](nestedKeyValue,global[_0x36679f(0x12c)],[_0x3f66e6['wQgkE'],_0x3f66e6[_0x36679f(0x137)],_0x3f66e6[_0x36679f(0x13c)]])&&_0x3f66e6[_0x36679f(0xf6)](shouldScanTestForAccessibility,global[_0x36679f(0x12c)][_0x36679f(0x115)][_0x36679f(0x106)]['titlePath'],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x36679f(0x128)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x36679f(0x132)]=!![];const _0x442a94=_0x3f66e6[_0x36679f(0xf6)](nestedKeyValue,global,[_0x3f66e6['hSTAc'],_0x3f66e6[_0x36679f(0x10b)]]),_0x4b6cd7={};_0x4b6cd7['method']=arguments[0x1],_0x442a94&&logger['debug'](util[_0x36679f(0x105)](await AccessibilityHelper[_0x36679f(0x10a)](_0x442a94,_0x4b6cd7)));if(_0x3f66e6['ESxCc'](arguments[0x0][_0x36679f(0xce)],_0x3f66e6['Iqtqr'])&&global[_0x36679f(0x11d)]){const _0x28eaef={};_0x28eaef[_0x36679f(0xda)]=arguments[0x1],await _0x3f66e6[_0x36679f(0xbd)](browserStackExecuteDriver,global[_0x36679f(0x11d)],scripts['performScan'],_0x28eaef);}}}catch(_0xeb33ae){logger[_0x36679f(0x128)]('Failed\x20to\x20perform\x20scan\x20'+util[_0x36679f(0x105)](_0xeb33ae));}return global[_0x36679f(0x132)]=![],_0x5b589a['apply'](this,arguments);};}}),!_0x3f66e6[_0x1e6ce7(0xc0)](isFalse,process['env'][_0x1e6ce7(0x135)])&&Object['defineProperty'](_0xce022[_0x1e6ce7(0x102)],_0x3f66e6[_0x1e6ce7(0x13b)],{'get':function(){const _0x49dbab={'DtIci':function(_0x522cb1,_0x34e82e){const _0xd15e19=a41_0x4173;return _0x3f66e6[_0xd15e19(0xbb)](_0x522cb1,_0x34e82e);},'LzJfX':function(_0x47cbd7,_0x1cec1c){const _0x1bd47c=a41_0x4173;return _0x3f66e6[_0x1bd47c(0xbc)](_0x47cbd7,_0x1cec1c);}};return function _0x101642(_0x18180a){const _0x3a5ce0=a41_0x4173,_0x353136=_0x18180a&&_0x18180a['params']&&_0x18180a[_0x3a5ce0(0xf7)][_0x3a5ce0(0xca)];if(_0x353136){const _0x4260be=_0x353136[_0x3a5ce0(0xc5)],_0x4c0dc7=_0x353136[_0x3a5ce0(0xdf)];_0x4c0dc7&&(_0x49dbab[_0x3a5ce0(0x125)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x4c0dc7['toString']()),_0x56fb09[_0x3a5ce0(0xc7)][_0x3a5ce0(0x12f)]=_0x4c0dc7[_0x3a5ce0(0x14a)],_0x56fb09['currentSessionDetails'][_0x3a5ce0(0x120)]=_0x4c0dc7[_0x3a5ce0(0x140)]),_0x4260be&&(_0x49dbab[_0x3a5ce0(0x139)](debug,_0x3a5ce0(0x111)+_0x4260be),_0x56fb09['currentSessionDetails'][_0x3a5ce0(0x14f)]=_0x4260be);}return _0x223e90['apply'](this,arguments);};}});}}catch(_0x5f741){_0x3f66e6[_0x1e6ce7(0xc0)](debug,_0x1e6ce7(0x109)+_0x5f741),_0x56fb09[_0x1e6ce7(0x116)]=_0x5f741[_0x1e6ce7(0xde)]();}}static[a41_0x431893(0xc4)](){const _0x5a277a=a41_0x431893,_0x5ca908={'DyJvg':function(_0x3b2784,_0x250026){return _0x3b2784(_0x250026);},'bKEuu':function(_0x258ae,_0x18deef){return _0x258ae(_0x18deef);},'JXYHm':function(_0x40b312){return _0x40b312();},'KKMyk':_0x5a277a(0xd3),'FDyrm':_0x5a277a(0xfb),'jhzLP':_0x5a277a(0xf4),'fqfng':'crConnection.js','bUkQS':function(_0x349fd,_0x4e3103){return _0x349fd(_0x4e3103);},'aGwLE':_0x5a277a(0xe6),'bxNFu':function(_0x2dcafa,_0xb67541){return _0x2dcafa(_0xb67541);},'LqIsE':_0x5a277a(0x153),'wZzRo':function(_0x50b30a,_0x70d0b7){return _0x50b30a!=_0x70d0b7;},'Qlbwu':_0x5a277a(0xc2)},_0x250e9c=this;if(_0x5ca908['JXYHm'](isAccessibilityAutomationSession)){let _0xb4ca4d=null;try{const _0x31fcff=path[_0x5a277a(0x122)](_0x5ca908[_0x5a277a(0x114)],_0x5ca908[_0x5a277a(0xc8)],_0x5ca908['jhzLP'],_0x5ca908['fqfng']),_0x2e49b1=_0x5ca908[_0x5a277a(0xe0)](importFileFromPWCore,_0x31fcff);!_0x2e49b1?_0x5ca908[_0x5a277a(0x12e)](debug,_0x5ca908[_0x5a277a(0xc9)]):_0xb4ca4d=_0x2e49b1[_0x5a277a(0xee)];}catch(_0x328e1d){_0x5ca908[_0x5a277a(0xf5)](debug,_0x5ca908[_0x5a277a(0xef)]);}try{if(_0x5ca908[_0x5a277a(0x12a)](_0xb4ca4d,null)){const _0x3d2325=_0xb4ca4d[_0x5a277a(0x102)][_0x5a277a(0xc2)];Object[_0x5a277a(0xdc)](_0xb4ca4d['prototype'],_0x5ca908[_0x5a277a(0xf3)],{'get':function(){return function _0x5e3b9b(_0x583ccf){const _0x1e964e=a41_0x4173;try{const _0x357da6=_0x583ccf['bStackParams'];if(_0x357da6){delete _0x583ccf[_0x1e964e(0x145)];const _0x31a79f=_0x357da6[_0x1e964e(0xc5)],_0x3d0942=_0x357da6['platformDetails'];_0x3d0942&&(_0x5ca908[_0x1e964e(0x150)](debug,_0x1e964e(0xed)+_0x3d0942[_0x1e964e(0xde)]()),_0x250e9c[_0x1e964e(0xc7)][_0x1e964e(0x12f)]=_0x3d0942[_0x1e964e(0x14a)],_0x250e9c['currentSessionDetails'][_0x1e964e(0x120)]=_0x3d0942[_0x1e964e(0x140)]),_0x31a79f&&(_0x5ca908[_0x1e964e(0xe0)](debug,_0x1e964e(0xc6)+_0x31a79f),_0x250e9c[_0x1e964e(0xc7)][_0x1e964e(0x14f)]=_0x31a79f);}}catch(_0x351cc6){_0x5ca908[_0x1e964e(0x150)](debug,_0x1e964e(0xf8)+_0x351cc6[_0x1e964e(0xde)]());}return _0x3d2325['apply'](this,arguments);};}});}}catch(_0x1859c0){_0x5ca908[_0x5a277a(0xe0)](debug,_0x5a277a(0x119)+_0x1859c0),_0x250e9c['sessionError']=_0x1859c0[_0x5a277a(0xde)]();}}}static['getDetails'](){const _0x50c96c=a41_0x431893;return this[_0x50c96c(0xc7)];}}module['exports']=PlaywrightSessionDetails;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a42_0x1a03e8=a42_0x4d35;(function(_0x38b941,_0x317e0e){const _0x44f43e=a42_0x4d35,_0x2c0869=_0x38b941();while(!![]){try{const _0x1e4d1b=-parseInt(_0x44f43e(0x223))/0x1*(parseInt(_0x44f43e(0x209))/0x2)+-parseInt(_0x44f43e(0x1d5))/0x3+parseInt(_0x44f43e(0x1f5))/0x4*(parseInt(_0x44f43e(0x218))/0x5)+-parseInt(_0x44f43e(0x1e8))/0x6+parseInt(_0x44f43e(0x1d7))/0x7*(parseInt(_0x44f43e(0x200))/0x8)+-parseInt(_0x44f43e(0x1d8))/0x9*(-parseInt(_0x44f43e(0x1e1))/0xa)+parseInt(_0x44f43e(0x236))/0xb;if(_0x1e4d1b===_0x317e0e)break;else _0x2c0869['push'](_0x2c0869['shift']());}catch(_0x2236bd){_0x2c0869['push'](_0x2c0869['shift']());}}}(a42_0x11d6,0x93c8b));const fs=require('fs'),path=require(a42_0x1a03e8(0x1e2)),util=require(a42_0x1a03e8(0x1f1)),{performance}=require('perf_hooks'),{requireModule}=require(a42_0x1a03e8(0x1f7)),helper=require('../helpers/helper'),runIntegrations=require('./integrations/command'),captureError=async(_0x4290ec,_0x57b1fc,_0x141e6c=null)=>{const _0x340d81=a42_0x1a03e8,_0x4fd12d={'XSszj':function(_0x1277bd,_0x3d2c8a,_0x4513d5){return _0x1277bd(_0x3d2c8a,_0x4513d5);},'NiGpj':_0x340d81(0x1ef)};try{await _0x4fd12d['XSszj'](_0x4290ec,_0x57b1fc,_0x141e6c);}catch(_0x1ecc37){process['exitCode']=0x1,logger[_0x340d81(0x201)](util[_0x340d81(0x204)](_0x1ecc37));const _0x4ce7c7={};_0x4ce7c7[_0x340d81(0x21f)]=_0x1ecc37[_0x340d81(0x219)];const _0xe55a3b=_0x4ce7c7;if(helper[_0x340d81(0x1f4)](global[_0x340d81(0x1d3)])&&helper['isUndefined'](global[_0x340d81(0x1eb)]))return;try{helper[_0x340d81(0x20e)](_0x4fd12d[_0x340d81(0x20c)],_0xe55a3b,global[_0x340d81(0x1d3)],global[_0x340d81(0x1eb)]);}catch(_0x162f86){logger[_0x340d81(0x1f8)](_0x340d81(0x207)+_0x162f86);}}};try{const browserstackFolderPath=path[a42_0x1a03e8(0x220)](helper[a42_0x1a03e8(0x202)](),a42_0x1a03e8(0x1e4));if(fs[a42_0x1a03e8(0x1d0)](browserstackFolderPath)){const filePath=path[a42_0x1a03e8(0x220)](browserstackFolderPath,a42_0x1a03e8(0x227));fs[a42_0x1a03e8(0x1d0)](filePath)&&fs[a42_0x1a03e8(0x1e6)](filePath);}}catch(a42_0x2c36ac){logger[a42_0x1a03e8(0x1f8)](a42_0x1a03e8(0x1d6)+a42_0x2c36ac['message']);}process['argv'][a42_0x1a03e8(0x205)](a42_0x1a03e8(0x208))&&(!process[a42_0x1a03e8(0x1fb)][a42_0x1a03e8(0x205)]('--opts')&&process['argv'][a42_0x1a03e8(0x221)](a42_0x1a03e8(0x1f9)),!process[a42_0x1a03e8(0x1fb)][a42_0x1a03e8(0x205)](a42_0x1a03e8(0x1dd))&&process[a42_0x1a03e8(0x1fb)]['push'](a42_0x1a03e8(0x22f)),!process[a42_0x1a03e8(0x1fb)]['includes']('--package')&&process[a42_0x1a03e8(0x1fb)][a42_0x1a03e8(0x221)]('--no-package'));const yargs=require(a42_0x1a03e8(0x1e9)),Constants=require(a42_0x1a03e8(0x21c)),PerformanceTester=require(a42_0x1a03e8(0x1ec)),logger=require(a42_0x1a03e8(0x1db))[a42_0x1a03e8(0x1d4)];PerformanceTester['startMonitoring'](),performance[a42_0x1a03e8(0x1ff)](a42_0x1a03e8(0x213));function a42_0x11d6(){const _0x230070=['--config','oPuIY','cNszq','DUJPJ','7477510bVozRf','path','HmVpj','.browserstack','KFPcJ','unlinkSync','command','2554008lNhpsn','yargs','HST','framework','../helpers/performance-tester','setTestObservabilityDisable','node','SDKTestSuccessful','GFXWp','util','SryAW','handler','isUndefined','508404aHZygH','HELP','../helpers/helper','debug','--no-opts','help','argv','alias','INTEGRATIONS','./jest/command','mark','42240JaKlyP','error','homedir','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','format','includes','ats','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','mocha','668XrVSEw','setBrowserStackAutomationDisable','nightwatch','NiGpj','xnczB','fireFunnelTestEvent','describe','rxpba','Byvkh','Parsing\x20command\x20line\x20arguements','sdk:setup-start','wrap','TMnvO','../../ats/src/index','showHelpOnFail','30slOXzq','message','RWARF','mocha/lib/cli/cli.js','./utils/constants','slice','./cucumber-js/command','globalException','join','push','nzEYY','3205vFDpXB','PIUdX','JEST','RuUOK','.local-not-set.json','integrations','./playwright/command','xTTyz','MOCHA','PLAYWRIGHT','hUJOW','CUCUMBER','--no-config','./mocha/command','VANILLA','INFO','mocha/lib/cli/run.js','fXKAS','YHGpa','12300629hBqpGC','NIGHTWATCH','LPovj','opHfZ','parserConfiguration','CODECEPTJS','existsSync','rrths','DNHYG','config','winstonLogger','2848605xjeaKd','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','560BZJBgL','9jFaDCk','dJUdu','demandCommand','../helpers/logger','./codeceptjs/command'];a42_0x11d6=function(){return _0x230070;};return a42_0x11d6();}const a42_0x40233e={};a42_0x40233e['dot-notation']=![];function a42_0x4d35(_0x388663,_0x2fdfa1){const _0x11d6cc=a42_0x11d6();return a42_0x4d35=function(_0x4d3515,_0xa71eba){_0x4d3515=_0x4d3515-0x1cd;let _0x4f982a=_0x11d6cc[_0x4d3515];return _0x4f982a;},a42_0x4d35(_0x388663,_0x2fdfa1);}const argv=yargs[a42_0x1a03e8(0x1ce)](a42_0x40233e)['usage']('usage:\x20$0\x20<command>\x20[args]')['alias']('v','version')[a42_0x1a03e8(0x20f)]('v')[a42_0x1a03e8(0x1fc)]('h',a42_0x1a03e8(0x1fa))[a42_0x1a03e8(0x1fa)](a42_0x1a03e8(0x1fa))[a42_0x1a03e8(0x217)](!![],Constants['VERSION'][a42_0x1a03e8(0x1f6)])[a42_0x1a03e8(0x1e7)]('jest',Constants[a42_0x1a03e8(0x225)][a42_0x1a03e8(0x232)],function(_0x10cb79){const _0x4c2df5=a42_0x1a03e8,_0xd4f49={'fXKAS':function(_0x486b98,_0x2b7439,_0x2f9999,_0x1c6021){return _0x486b98(_0x2b7439,_0x2f9999,_0x1c6021);},'GFXWp':function(_0x56409e,_0x14a7f4){return _0x56409e(_0x14a7f4);},'YHGpa':_0x4c2df5(0x1fe)};helper[_0x4c2df5(0x1ed)](),helper[_0x4c2df5(0x20a)]();const _0x309b1a=process[_0x4c2df5(0x1fb)][_0x4c2df5(0x21d)](0x2);return _0xd4f49[_0x4c2df5(0x234)](captureError,_0xd4f49[_0x4c2df5(0x1f0)](require,_0xd4f49[_0x4c2df5(0x235)]),_0x10cb79[_0x4c2df5(0x1fb)],_0x309b1a);})[a42_0x1a03e8(0x1e7)](a42_0x1a03e8(0x208),Constants[a42_0x1a03e8(0x22b)][a42_0x1a03e8(0x232)],_0x2c3274=>{const _0x545c02=a42_0x1a03e8,_0x3a9843={'cNszq':function(_0x390a84,_0x44c88d,_0x57e59c){return _0x390a84(_0x44c88d,_0x57e59c);},'DUJPJ':function(_0xd5a3f5,_0x234876){return _0xd5a3f5(_0x234876);},'xTTyz':_0x545c02(0x230),'hUJOW':_0x545c02(0x212),'SryAW':_0x545c02(0x233),'opHfZ':function(_0x5d97c2,_0x43ed14){return _0x5d97c2(_0x43ed14);},'UYQuu':'mocha/lib/cli/commands.js','zxBEU':_0x545c02(0x21b),'uUoWn':function(_0x16d8dd){return _0x16d8dd();}};logger['debug'](_0x3a9843[_0x545c02(0x22d)]);const _0x4a933e=_0x3a9843[_0x545c02(0x1e0)](requireModule,_0x3a9843[_0x545c02(0x1f2)]),_0x552871=_0x3a9843[_0x545c02(0x1cd)](requireModule,_0x3a9843['UYQuu']);process[_0x545c02(0x1fb)]=process['argv'][_0x545c02(0x21d)](0x1),delete _0x4a933e[_0x545c02(0x1f3)],_0x4a933e['handler']=function(_0xb3f4e2){const _0x1f7705=_0x545c02;return _0x3a9843[_0x1f7705(0x1df)](captureError,_0x3a9843[_0x1f7705(0x1e0)](require,_0x3a9843[_0x1f7705(0x22a)]),_0xb3f4e2);},_0x552871['run']=_0x4a933e;const {main:_0x286061}=_0x3a9843[_0x545c02(0x1cd)](requireModule,_0x3a9843['zxBEU']);_0x3a9843['uUoWn'](_0x286061);})[a42_0x1a03e8(0x1e7)]('cucumber-js',Constants[a42_0x1a03e8(0x22e)][a42_0x1a03e8(0x232)],function(_0x1dedc8){const _0x49f1cf=a42_0x1a03e8,_0x2a561a={'QVWiT':function(_0x13ad45,_0x20ccb0,_0x44c0bc,_0x21d0b1){return _0x13ad45(_0x20ccb0,_0x44c0bc,_0x21d0b1);},'RuUOK':function(_0x60aae9,_0x560757){return _0x60aae9(_0x560757);},'dJUdu':_0x49f1cf(0x21e)},_0x38b43b=process['argv']['slice'](0x2);return _0x2a561a['QVWiT'](captureError,_0x2a561a[_0x49f1cf(0x226)](require,_0x2a561a[_0x49f1cf(0x1d9)]),_0x1dedc8[_0x49f1cf(0x1fb)],_0x38b43b);})['command'](a42_0x1a03e8(0x1ee),Constants[a42_0x1a03e8(0x231)][a42_0x1a03e8(0x232)],function(_0x4ae944){const _0x5bc434=a42_0x1a03e8,_0x11f6a1={'oPuIY':function(_0xcb2136,_0xb712b8,_0x67248b,_0x29ed0f){return _0xcb2136(_0xb712b8,_0x67248b,_0x29ed0f);},'Byvkh':function(_0x2cb883,_0x4f2bbd){return _0x2cb883(_0x4f2bbd);},'HmVpj':'./vanilla-js/command'},_0xf8d47b=process[_0x5bc434(0x1fb)][_0x5bc434(0x21d)](0x2);return _0x11f6a1[_0x5bc434(0x1de)](captureError,_0x11f6a1[_0x5bc434(0x211)](require,_0x11f6a1[_0x5bc434(0x1e3)]),_0x4ae944[_0x5bc434(0x1fb)],_0xf8d47b);})['command'](a42_0x1a03e8(0x20b),Constants[a42_0x1a03e8(0x237)]['INFO'],function(_0x333d97){const _0x11e529=a42_0x1a03e8,_0x1154eb={'rrths':function(_0x1e9621,_0x598ca3,_0x1e9d6b,_0x51f5e2){return _0x1e9621(_0x598ca3,_0x1e9d6b,_0x51f5e2);},'LPovj':function(_0x142478,_0x284933){return _0x142478(_0x284933);},'rxpba':'./nightwatch/command'},_0x130dbf=process['argv'][_0x11e529(0x21d)](0x2);return _0x1154eb[_0x11e529(0x1d1)](captureError,_0x1154eb[_0x11e529(0x238)](require,_0x1154eb[_0x11e529(0x210)]),_0x333d97['argv'],_0x130dbf);})[a42_0x1a03e8(0x1e7)]('codeceptjs',Constants[a42_0x1a03e8(0x1cf)][a42_0x1a03e8(0x232)],function(_0x1acfde){const _0x30b2fd=a42_0x1a03e8,_0x1682ce={'KFPcJ':function(_0x46c343,_0x20a817,_0x50decb,_0x2092a1){return _0x46c343(_0x20a817,_0x50decb,_0x2092a1);},'PIUdX':function(_0x127920,_0x2e5dd4){return _0x127920(_0x2e5dd4);},'TMnvO':_0x30b2fd(0x1dc)},_0x2db3a0=process[_0x30b2fd(0x1fb)]['slice'](0x2);return _0x1682ce[_0x30b2fd(0x1e5)](captureError,_0x1682ce[_0x30b2fd(0x224)](require,_0x1682ce[_0x30b2fd(0x215)]),_0x1acfde[_0x30b2fd(0x1fb)],_0x2db3a0);})[a42_0x1a03e8(0x1e7)](a42_0x1a03e8(0x206),Constants[a42_0x1a03e8(0x1ea)][a42_0x1a03e8(0x232)],function(_0x21117d){const _0x9921fe=a42_0x1a03e8,_0x4d5d56={'vqiqx':function(_0x398b61,_0x39f4de,_0x3892cf){return _0x398b61(_0x39f4de,_0x3892cf);},'xnczB':function(_0x36244a,_0x10a677){return _0x36244a(_0x10a677);},'OdFub':_0x9921fe(0x216)},_0x361646=process[_0x9921fe(0x1fb)]['slice'](0x2);return _0x4d5d56['vqiqx'](captureError,_0x4d5d56[_0x9921fe(0x20d)](require,_0x4d5d56['OdFub']),_0x21117d);})[a42_0x1a03e8(0x1e7)](a42_0x1a03e8(0x228),Constants[a42_0x1a03e8(0x1fd)][a42_0x1a03e8(0x232)],function(_0x4b8673){const _0x212aaf=a42_0x1a03e8,_0x101abb={'nzEYY':function(_0x351b46,_0x221ca3){return _0x351b46(_0x221ca3);}};return _0x101abb[_0x212aaf(0x222)](runIntegrations,_0x4b8673);})[a42_0x1a03e8(0x1e7)]('playwright',Constants[a42_0x1a03e8(0x22c)][a42_0x1a03e8(0x232)],function(_0x311f6d){const _0x1958cf=a42_0x1a03e8,_0x50a2db={'RWARF':function(_0x11d1d8,_0x179b92,_0x5e71f4,_0x118305){return _0x11d1d8(_0x179b92,_0x5e71f4,_0x118305);},'MkpQC':function(_0x291983,_0x59c7bc){return _0x291983(_0x59c7bc);},'DNHYG':_0x1958cf(0x229)},_0x16ce62=process['argv'][_0x1958cf(0x21d)](0x2);return _0x50a2db[_0x1958cf(0x21a)](captureError,_0x50a2db['MkpQC'](require,_0x50a2db[_0x1958cf(0x1d2)]),_0x311f6d[_0x1958cf(0x1fb)],_0x16ce62);})[a42_0x1a03e8(0x1da)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a42_0x1a03e8(0x214)](null)[a42_0x1a03e8(0x1fb)];!helper[a42_0x1a03e8(0x1f4)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a42_0x1a03e8(0x206)&&console[a42_0x1a03e8(0x201)](a42_0x1a03e8(0x203));
|
|
2
|
+
'use strict';const a42_0x4dfcc1=a42_0x1780;function a42_0x1780(_0x3934f7,_0x4354d1){const _0x9d1af5=a42_0x9d1a();return a42_0x1780=function(_0x178071,_0x2b6984){_0x178071=_0x178071-0x1bb;let _0x4049ba=_0x9d1af5[_0x178071];return _0x4049ba;},a42_0x1780(_0x3934f7,_0x4354d1);}(function(_0x531495,_0x428ef9){const _0x27b6f6=a42_0x1780,_0x2b3b2d=_0x531495();while(!![]){try{const _0x311a3a=parseInt(_0x27b6f6(0x228))/0x1*(-parseInt(_0x27b6f6(0x1fe))/0x2)+parseInt(_0x27b6f6(0x1d7))/0x3*(-parseInt(_0x27b6f6(0x1df))/0x4)+parseInt(_0x27b6f6(0x1f5))/0x5*(parseInt(_0x27b6f6(0x206))/0x6)+parseInt(_0x27b6f6(0x1ce))/0x7*(-parseInt(_0x27b6f6(0x1f7))/0x8)+parseInt(_0x27b6f6(0x229))/0x9*(parseInt(_0x27b6f6(0x1c7))/0xa)+-parseInt(_0x27b6f6(0x20d))/0xb+parseInt(_0x27b6f6(0x1fa))/0xc;if(_0x311a3a===_0x428ef9)break;else _0x2b3b2d['push'](_0x2b3b2d['shift']());}catch(_0x570281){_0x2b3b2d['push'](_0x2b3b2d['shift']());}}}(a42_0x9d1a,0x34ac8));const fs=require('fs'),path=require('path'),util=require(a42_0x4dfcc1(0x1db)),{performance}=require(a42_0x4dfcc1(0x216)),{requireModule}=require(a42_0x4dfcc1(0x224)),helper=require(a42_0x4dfcc1(0x224)),runIntegrations=require(a42_0x4dfcc1(0x213)),captureError=async(_0x8593d,_0x558496,_0x21b924=null)=>{const _0x5d09ac=a42_0x4dfcc1,_0x4da75e={'lMkWu':function(_0xfbad8d,_0x30a779,_0x5b945e){return _0xfbad8d(_0x30a779,_0x5b945e);},'oliIN':_0x5d09ac(0x1c4)};try{await _0x4da75e[_0x5d09ac(0x1d2)](_0x8593d,_0x558496,_0x21b924);}catch(_0x5de221){process[_0x5d09ac(0x1d5)]=0x1,logger[_0x5d09ac(0x1ec)](util[_0x5d09ac(0x1d1)](_0x5de221));const _0xcc05d2={};_0xcc05d2[_0x5d09ac(0x203)]=_0x5de221[_0x5d09ac(0x1c5)];const _0x44ed0e=_0xcc05d2;if(helper[_0x5d09ac(0x1e5)](global[_0x5d09ac(0x226)])&&helper[_0x5d09ac(0x1e5)](global[_0x5d09ac(0x209)]))return;try{helper[_0x5d09ac(0x1fb)](_0x4da75e['oliIN'],_0x44ed0e,global['config'],global[_0x5d09ac(0x209)]);}catch(_0x3ed1b3){logger[_0x5d09ac(0x204)](_0x5d09ac(0x1e1)+_0x3ed1b3);}}};try{const browserstackFolderPath=path[a42_0x4dfcc1(0x1d4)](helper['homedir'](),a42_0x4dfcc1(0x21e));if(fs[a42_0x4dfcc1(0x217)](browserstackFolderPath)){const filePath=path[a42_0x4dfcc1(0x1d4)](browserstackFolderPath,'.local-not-set.json');fs[a42_0x4dfcc1(0x217)](filePath)&&fs[a42_0x4dfcc1(0x1da)](filePath);}}catch(a42_0x546a85){logger[a42_0x4dfcc1(0x204)](a42_0x4dfcc1(0x1d8)+a42_0x546a85['message']);}process[a42_0x4dfcc1(0x1f1)]['includes'](a42_0x4dfcc1(0x21d))&&(!process[a42_0x4dfcc1(0x1f1)]['includes'](a42_0x4dfcc1(0x207))&&process[a42_0x4dfcc1(0x1f1)][a42_0x4dfcc1(0x22c)](a42_0x4dfcc1(0x1e3)),!process[a42_0x4dfcc1(0x1f1)][a42_0x4dfcc1(0x200)](a42_0x4dfcc1(0x1c6))&&process['argv'][a42_0x4dfcc1(0x22c)](a42_0x4dfcc1(0x1f0)),!process[a42_0x4dfcc1(0x1f1)][a42_0x4dfcc1(0x200)]('--package')&&process['argv'][a42_0x4dfcc1(0x22c)](a42_0x4dfcc1(0x1d0)));const yargs=require(a42_0x4dfcc1(0x1f3)),Constants=require(a42_0x4dfcc1(0x1cb)),PerformanceTester=require(a42_0x4dfcc1(0x20b)),logger=require('../helpers/logger')['winstonLogger'];PerformanceTester['startMonitoring'](),performance[a42_0x4dfcc1(0x1c8)](a42_0x4dfcc1(0x227));const a42_0x3da583={};a42_0x3da583[a42_0x4dfcc1(0x1f2)]=![];function a42_0x9d1a(){const _0x22a3bd=['vZOyL','KSBFO','alias','djHjH','handler','HELP','wrap','./codeceptjs/command','lNeUD','SDKTestSuccessful','message','--config','50QqVCgH','mark','qtjwU','uiGLM','./utils/constants','OYHvz','ats','14SJNXee','help','--no-package','format','lMkWu','./jest/command','join','exitCode','PHfAZ','399FqLNWf','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','./vanilla-js/command','unlinkSync','util','node','./nightwatch/command','usage','6068qNaqDL','JojIC','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','PLAYWRIGHT','--no-opts','VERSION','isUndefined','usage:\x20$0\x20<command>\x20[args]','zwjgP','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','eXksW','codeceptjs','UOtrd','error','VANILLA','mocha/lib/cli/run.js','./cucumber-js/command','--no-config','argv','dot-notation','yargs','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','6915Ovkzvc','CODECEPTJS','186016YeFjIM','cucumber-js','./playwright/command','2166252PDrmXf','fireFunnelTestEvent','JeznS','ZGfPk','168446YRRoyu','EIaGj','includes','VdLfc','ibvPl','globalException','debug','VQXmK','246CkMMQq','--opts','INFO','framework','mocha/lib/cli/cli.js','../helpers/performance-tester','command','1308604XmURXi','MOCHA','showHelpOnFail','OZNjK','nightwatch','qVHyN','./integrations/command','JdWcE','./mocha/command','perf_hooks','existsSync','../../ats/src/index','integrations','NIGHTWATCH','Parsing\x20command\x20line\x20arguements','mocha/lib/cli/commands.js','mocha','.browserstack','HST','setTestObservabilityDisable','describe','slice','QiCEL','../helpers/helper','qHgNJ','config','sdk:setup-start','1rYGwVf','773964zDOrzH','jest','RXVrA','push','version'];a42_0x9d1a=function(){return _0x22a3bd;};return a42_0x9d1a();}const argv=yargs['parserConfiguration'](a42_0x3da583)[a42_0x4dfcc1(0x1de)](a42_0x4dfcc1(0x1e6))[a42_0x4dfcc1(0x1bd)]('v',a42_0x4dfcc1(0x22d))[a42_0x4dfcc1(0x221)]('v')[a42_0x4dfcc1(0x1bd)]('h','help')[a42_0x4dfcc1(0x1cf)](a42_0x4dfcc1(0x1cf))[a42_0x4dfcc1(0x20f)](!![],Constants[a42_0x4dfcc1(0x1e4)][a42_0x4dfcc1(0x1c0)])[a42_0x4dfcc1(0x20c)](a42_0x4dfcc1(0x22a),Constants['JEST'][a42_0x4dfcc1(0x208)],function(_0x3a7c12){const _0x575264=a42_0x4dfcc1,_0x1ea7b7={'OZNjK':function(_0x3ba4db,_0x3b817d,_0x1b4178,_0x1be7e3){return _0x3ba4db(_0x3b817d,_0x1b4178,_0x1be7e3);},'CRFyF':function(_0x2551cc,_0x14f84b){return _0x2551cc(_0x14f84b);},'QiCEL':_0x575264(0x1d3)};helper[_0x575264(0x220)](),helper['setBrowserStackAutomationDisable']();const _0x5e5e48=process['argv']['slice'](0x2);return _0x1ea7b7[_0x575264(0x210)](captureError,_0x1ea7b7['CRFyF'](require,_0x1ea7b7[_0x575264(0x223)]),_0x3a7c12[_0x575264(0x1f1)],_0x5e5e48);})['command'](a42_0x4dfcc1(0x21d),Constants[a42_0x4dfcc1(0x20e)][a42_0x4dfcc1(0x208)],_0x2c8278=>{const _0x31e431=a42_0x4dfcc1,_0x194e53={'qVHyN':function(_0x2c7f74,_0x510fad,_0x4e1c40){return _0x2c7f74(_0x510fad,_0x4e1c40);},'UOtrd':function(_0x5845d0,_0x3995c0){return _0x5845d0(_0x3995c0);},'xWfIh':_0x31e431(0x215),'zwjgP':_0x31e431(0x21b),'qHgNJ':function(_0x153141,_0x246b4b){return _0x153141(_0x246b4b);},'EIaGj':_0x31e431(0x1ee),'JojIC':_0x31e431(0x21c),'JeznS':function(_0x1b98f8,_0x3d7670){return _0x1b98f8(_0x3d7670);},'VdLfc':_0x31e431(0x20a),'dEERg':function(_0x430457){return _0x430457();}};logger[_0x31e431(0x204)](_0x194e53[_0x31e431(0x1e7)]);const _0x5c7928=_0x194e53[_0x31e431(0x225)](requireModule,_0x194e53[_0x31e431(0x1ff)]),_0xafc7e2=_0x194e53[_0x31e431(0x225)](requireModule,_0x194e53[_0x31e431(0x1e0)]);process['argv']=process[_0x31e431(0x1f1)][_0x31e431(0x222)](0x1),delete _0x5c7928[_0x31e431(0x1bf)],_0x5c7928[_0x31e431(0x1bf)]=function(_0x481bb1){const _0x46b3a8=_0x31e431;return _0x194e53[_0x46b3a8(0x212)](captureError,_0x194e53[_0x46b3a8(0x1eb)](require,_0x194e53['xWfIh']),_0x481bb1);},_0xafc7e2['run']=_0x5c7928;const {main:_0x12e316}=_0x194e53[_0x31e431(0x1fc)](requireModule,_0x194e53[_0x31e431(0x201)]);_0x194e53['dEERg'](_0x12e316);})[a42_0x4dfcc1(0x20c)](a42_0x4dfcc1(0x1f8),Constants['CUCUMBER'][a42_0x4dfcc1(0x208)],function(_0x53e952){const _0x4e8eb4=a42_0x4dfcc1,_0xe0590b={'VQXmK':function(_0x332f37,_0x41f5e4,_0x291eb6,_0x491017){return _0x332f37(_0x41f5e4,_0x291eb6,_0x491017);},'hFnQb':function(_0x207bce,_0x13350e){return _0x207bce(_0x13350e);},'vZOyL':_0x4e8eb4(0x1ef)},_0x1d61a9=process[_0x4e8eb4(0x1f1)][_0x4e8eb4(0x222)](0x2);return _0xe0590b[_0x4e8eb4(0x205)](captureError,_0xe0590b['hFnQb'](require,_0xe0590b[_0x4e8eb4(0x1bb)]),_0x53e952[_0x4e8eb4(0x1f1)],_0x1d61a9);})[a42_0x4dfcc1(0x20c)](a42_0x4dfcc1(0x1dc),Constants[a42_0x4dfcc1(0x1ed)][a42_0x4dfcc1(0x208)],function(_0x1d5a2c){const _0x2cec5d=a42_0x4dfcc1,_0x5a5442={'uiGLM':function(_0x3ae1b8,_0x142b71,_0x414f4c,_0x202364){return _0x3ae1b8(_0x142b71,_0x414f4c,_0x202364);},'ibvPl':function(_0x9186a4,_0xae1fd0){return _0x9186a4(_0xae1fd0);},'eXksW':_0x2cec5d(0x1d9)},_0x2caeac=process[_0x2cec5d(0x1f1)][_0x2cec5d(0x222)](0x2);return _0x5a5442[_0x2cec5d(0x1ca)](captureError,_0x5a5442[_0x2cec5d(0x202)](require,_0x5a5442[_0x2cec5d(0x1e9)]),_0x1d5a2c[_0x2cec5d(0x1f1)],_0x2caeac);})[a42_0x4dfcc1(0x20c)](a42_0x4dfcc1(0x211),Constants[a42_0x4dfcc1(0x21a)][a42_0x4dfcc1(0x208)],function(_0x534e82){const _0x5f49e0=a42_0x4dfcc1,_0xf78272={'djHjH':function(_0x1f7926,_0x39f02f,_0x14b545,_0x23de80){return _0x1f7926(_0x39f02f,_0x14b545,_0x23de80);},'PHfAZ':function(_0x19449c,_0x11e666){return _0x19449c(_0x11e666);},'JdWcE':_0x5f49e0(0x1dd)},_0x4d6da5=process['argv']['slice'](0x2);return _0xf78272[_0x5f49e0(0x1be)](captureError,_0xf78272[_0x5f49e0(0x1d6)](require,_0xf78272[_0x5f49e0(0x214)]),_0x534e82[_0x5f49e0(0x1f1)],_0x4d6da5);})[a42_0x4dfcc1(0x20c)](a42_0x4dfcc1(0x1ea),Constants[a42_0x4dfcc1(0x1f6)][a42_0x4dfcc1(0x208)],function(_0x4403c7){const _0x30d57c=a42_0x4dfcc1,_0x225228={'nbhrU':function(_0x4e2438,_0x5944d2,_0xeb4ee5,_0x23099e){return _0x4e2438(_0x5944d2,_0xeb4ee5,_0x23099e);},'RXVrA':function(_0x62fb17,_0x549f37){return _0x62fb17(_0x549f37);},'deWZw':_0x30d57c(0x1c2)},_0x55077c=process[_0x30d57c(0x1f1)]['slice'](0x2);return _0x225228['nbhrU'](captureError,_0x225228[_0x30d57c(0x22b)](require,_0x225228['deWZw']),_0x4403c7[_0x30d57c(0x1f1)],_0x55077c);})[a42_0x4dfcc1(0x20c)](a42_0x4dfcc1(0x1cd),Constants[a42_0x4dfcc1(0x21f)][a42_0x4dfcc1(0x208)],function(_0x358a32){const _0x4b3201=a42_0x4dfcc1,_0x2ebf1a={'rYOFK':function(_0xab4832,_0x32d476,_0x303e3a){return _0xab4832(_0x32d476,_0x303e3a);},'ZGfPk':function(_0x106bb5,_0x4b3e1a){return _0x106bb5(_0x4b3e1a);},'qtjwU':_0x4b3201(0x218)},_0x595c09=process['argv'][_0x4b3201(0x222)](0x2);return _0x2ebf1a['rYOFK'](captureError,_0x2ebf1a[_0x4b3201(0x1fd)](require,_0x2ebf1a[_0x4b3201(0x1c9)]),_0x358a32);})[a42_0x4dfcc1(0x20c)](a42_0x4dfcc1(0x219),Constants['INTEGRATIONS'][a42_0x4dfcc1(0x208)],function(_0x316d81){const _0x3df0ef=a42_0x4dfcc1,_0x459a6f={'OYHvz':function(_0x3031c8,_0x287cd7){return _0x3031c8(_0x287cd7);}};return _0x459a6f[_0x3df0ef(0x1cc)](runIntegrations,_0x316d81);})[a42_0x4dfcc1(0x20c)]('playwright',Constants[a42_0x4dfcc1(0x1e2)][a42_0x4dfcc1(0x208)],function(_0x283a29){const _0x170485=a42_0x4dfcc1,_0x23fc9b={'ZVGEP':function(_0x3a74ba,_0x57ba8a,_0x1c5ff8,_0x2d272f){return _0x3a74ba(_0x57ba8a,_0x1c5ff8,_0x2d272f);},'KSBFO':function(_0x1367f5,_0x14cac1){return _0x1367f5(_0x14cac1);},'lNeUD':_0x170485(0x1f9)},_0x5a2f68=process[_0x170485(0x1f1)][_0x170485(0x222)](0x2);return _0x23fc9b['ZVGEP'](captureError,_0x23fc9b[_0x170485(0x1bc)](require,_0x23fc9b[_0x170485(0x1c3)]),_0x283a29['argv'],_0x5a2f68);})['demandCommand'](0x1,a42_0x4dfcc1(0x1e8))[a42_0x4dfcc1(0x1c1)](null)[a42_0x4dfcc1(0x1f1)];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a42_0x4dfcc1(0x1cd)&&console[a42_0x4dfcc1(0x1ec)](a42_0x4dfcc1(0x1f4));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a43_0x7f613b=a43_0x3668;(function(_0x1d414e,_0x5730fb){const _0x10e074=a43_0x3668,_0x2ba53d=_0x1d414e();while(!![]){try{const _0x6471be=-parseInt(_0x10e074(0xe0))/0x1*(parseInt(_0x10e074(0xb6))/0x2)+-parseInt(_0x10e074(0xdd))/0x3+-parseInt(_0x10e074(0xa3))/0x4+parseInt(_0x10e074(0xb5))/0x5+-parseInt(_0x10e074(0xdf))/0x6+parseInt(_0x10e074(0xdc))/0x7+parseInt(_0x10e074(0xe9))/0x8;if(_0x6471be===_0x5730fb)break;else _0x2ba53d['push'](_0x2ba53d['shift']());}catch(_0x2fa5ab){_0x2ba53d['push'](_0x2ba53d['shift']());}}}(a43_0x579b,0x519c3));const fs=require('fs'),helper=require(a43_0x7f613b(0xbe)),yaml=require(a43_0x7f613b(0xd5)),yargs=require(a43_0x7f613b(0xe8)),logger=require('../helpers/logger')['winstonLogger'],configFileTemplate=__dirname+a43_0x7f613b(0xc0),configFileTemplatePW=__dirname+a43_0x7f613b(0xd8),configFile=process[a43_0x7f613b(0xba)]()+a43_0x7f613b(0xa4),packageFile=process[a43_0x7f613b(0xba)]()+a43_0x7f613b(0xc2),frameworks=[a43_0x7f613b(0xac),a43_0x7f613b(0xea),a43_0x7f613b(0xe7),a43_0x7f613b(0xb2),'nightwatch',a43_0x7f613b(0xcf),'playwright'];let config;logger[a43_0x7f613b(0xaa)](a43_0x7f613b(0xb7)),createConfigurationFile(yargs[a43_0x7f613b(0xc3)]['username'],yargs[a43_0x7f613b(0xc3)]['key'],yargs[a43_0x7f613b(0xc3)][a43_0x7f613b(0xd9)]);function a43_0x3668(_0x379057,_0x4de6f0){const _0x579bee=a43_0x579b();return a43_0x3668=function(_0x36680d,_0x254bf9){_0x36680d=_0x36680d-0xa3;let _0x2a7536=_0x579bee[_0x36680d];return _0x2a7536;},a43_0x3668(_0x379057,_0x4de6f0);}try{sdkSetup();}catch(a43_0x4e526a){logger[a43_0x7f613b(0xbb)](a43_0x7f613b(0xc5)+a43_0x4e526a);}addScriptInPackageJson();function createConfigurationFile(_0x540b77,_0x1646d8,_0x1d190d=![]){const _0x454958=a43_0x7f613b,_0x4405bb={};_0x4405bb[_0x454958(0xe3)]='utf8',_0x4405bb[_0x454958(0xc1)]=_0x454958(0xca),_0x4405bb[_0x454958(0xcc)]=_0x454958(0xd4);const _0x5025d9=_0x4405bb;try{let _0x43b13a=fs[_0x454958(0xc4)](_0x1d190d?configFileTemplatePW:configFileTemplate,_0x5025d9[_0x454958(0xe3)]);_0x540b77&&(_0x43b13a=_0x43b13a['replace'](_0x5025d9[_0x454958(0xc1)],_0x540b77)),_0x1646d8&&(_0x43b13a=_0x43b13a[_0x454958(0xe1)](_0x5025d9[_0x454958(0xcc)],_0x1646d8)),config=yaml[_0x454958(0xbc)](_0x43b13a),fs[_0x454958(0xd7)](configFile,_0x43b13a,_0x49b9b1=>{const _0x2796db=_0x454958;_0x49b9b1&&logger[_0x2796db(0xce)](_0x49b9b1);});}catch(_0x36d038){logger[_0x454958(0xce)](_0x36d038);}}function addPostInstallScript(_0x5683f2,_0x3fbbee){const _0x37ff20=a43_0x7f613b,_0x269b6d={};_0x269b6d['fhHtr']=_0x37ff20(0xd1),_0x269b6d[_0x37ff20(0xb3)]='npm\x20update\x20browserstack-node-sdk',_0x269b6d[_0x37ff20(0xa5)]=_0x37ff20(0xcb);const _0x27be10=_0x269b6d;let _0x5e3ac8=_0x5683f2[_0x27be10[_0x37ff20(0xcd)]];if(_0x5e3ac8&&_0x5e3ac8[_0x37ff20(0xc9)](_0x27be10[_0x37ff20(0xb3)]))return;!_0x5e3ac8?_0x5e3ac8=_0x27be10[_0x37ff20(0xb3)]:_0x5e3ac8+=_0x27be10[_0x37ff20(0xa5)],_0x3fbbee[_0x37ff20(0xde)]([_0x27be10[_0x37ff20(0xcd)],_0x5e3ac8]);}function addScriptInPackageJson(){const _0x95a7f9=a43_0x7f613b,_0x49502b={'MpBZv':_0x95a7f9(0xa7),'WRrgQ':function(_0x5af83c,_0x33bd0e){return _0x5af83c<_0x33bd0e;},'bjqGY':function(_0x27e4e4,_0x494ba8,_0x209e87){return _0x27e4e4(_0x494ba8,_0x209e87);},'CWQGZ':function(_0x202538,_0x41e68b,_0x29244f){return _0x202538(_0x41e68b,_0x29244f);},'Uhqvh':function(_0x5d4253,_0x135827){return _0x5d4253!==_0x135827;},'mgDjO':_0x95a7f9(0xb8)},_0x49f6be=JSON['parse'](fs[_0x95a7f9(0xc4)](packageFile,_0x49502b['MpBZv'])),_0x2adf7e=[];for(let _0x3e997d=0x0;_0x49502b[_0x95a7f9(0xe4)](_0x3e997d,frameworks[_0x95a7f9(0xd3)]);_0x3e997d+=0x1){const _0x1b6ede=_0x49502b[_0x95a7f9(0xd2)](findScriptsWithFramework,_0x49f6be[_0x95a7f9(0xe5)],frameworks[_0x3e997d]);for(let _0x3fe771=0x0;_0x49502b[_0x95a7f9(0xe4)](_0x3fe771,_0x1b6ede[_0x95a7f9(0xd3)]);_0x3fe771+=0x1){_0x2adf7e[_0x95a7f9(0xde)](_0x49502b['CWQGZ'](getUpdatedCommand,_0x49f6be['scripts'],_0x1b6ede[_0x3fe771]));}_0x49502b[_0x95a7f9(0xd2)](addPostInstallScript,_0x49f6be[_0x95a7f9(0xe5)],_0x2adf7e);}const _0x46eff0={..._0x49f6be[_0x95a7f9(0xe5)]},_0x334803=_0x46eff0;for(let _0x41b705=0x0;_0x49502b[_0x95a7f9(0xe4)](_0x41b705,_0x2adf7e['length']);_0x41b705+=0x1){_0x334803[_0x2adf7e[_0x41b705][0x0]]=_0x2adf7e[_0x41b705][0x1];}_0x49502b[_0x95a7f9(0xc7)](JSON['stringify'](_0x49f6be[_0x95a7f9(0xe5)]),JSON[_0x95a7f9(0xaf)](_0x334803))&&(logger[_0x95a7f9(0xaa)](_0x49502b[_0x95a7f9(0xd6)]),_0x49f6be['scripts']=_0x334803,fs[_0x95a7f9(0xd7)](packageFile,JSON[_0x95a7f9(0xaf)](_0x49f6be,null,0x2),_0x508dd3=>{const _0x3ac33a=_0x95a7f9;_0x508dd3&&logger[_0x3ac33a(0xce)](_0x508dd3);}));}function a43_0x579b(){const _0xba0d10=['codeceptjs','browserstack-node-sdk','postinstall','bjqGY','length','YOUR_ACCESS_KEY','js-yaml','mgDjO','writeFileSync','/../../browserstack.pw.yml.sample','playwright','SDKSetup','FUkSu','3746302yjzete','1567413rpPfxP','push','1003326amuzsR','8269sXJRHq','replace','oWcBb','rNqBQ','WRrgQ','scripts','-browserstack','cucumber-js','yargs','6479520yiYZZP','jest','1377136RjAAPK','/browserstack.yml','xkrzi','browserstack-node-sdk\x20','utf8','entries','source','info','Setup\x20completed','mocha','kiTmG','indexOf','stringify','splice','fireFunnelTestEvent','node','zzuWV','split','2224220zPyVQt','102qXMQdE','Creating\x20configuration\x20file...','Adding\x20new\x20script(s)\x20in\x20package.json...','YFXhc','cwd','debug','load','join','../helpers/helper','isUndefined','/../../browserstack.yml.sample','wMOII','/package.json','argv','readFileSync','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','bzDVA','Uhqvh','qikzI','includes','YOUR_USERNAME','\x20&&\x20npm\x20update\x20browserstack-node-sdk','GGrcm','fhHtr','error'];a43_0x579b=function(){return _0xba0d10;};return a43_0x579b();};function findScriptsWithFramework(_0x4f4025,_0x38fa37){const _0x3a7406=a43_0x7f613b,_0x5475ff={};_0x5475ff[_0x3a7406(0xb9)]=function(_0x4f4cfe,_0x3fb4ad){return _0x4f4cfe<_0x3fb4ad;},_0x5475ff[_0x3a7406(0xdb)]=_0x3a7406(0xd0);const _0x50f38d=_0x5475ff,_0x4578a2=[],_0x18bb32=Object[_0x3a7406(0xa8)](_0x4f4025);for(let _0x34fa55=0x0;_0x50f38d['YFXhc'](_0x34fa55,_0x18bb32[_0x3a7406(0xd3)]);_0x34fa55+=0x1){_0x18bb32[_0x34fa55][0x1][_0x3a7406(0xc9)](_0x38fa37)&&!_0x18bb32[_0x34fa55][0x1][_0x3a7406(0xc9)](_0x50f38d[_0x3a7406(0xdb)])&&_0x4578a2[_0x3a7406(0xde)](_0x18bb32[_0x34fa55][0x0]);}return _0x4578a2;}function getUpdatedCommand(_0x5a4c0a,_0x11ca36){const _0xb1a912=a43_0x7f613b,_0x3bd5a9={};_0x3bd5a9['qikzI']=function(_0x2699b9,_0x1daa05){return _0x2699b9!==_0x1daa05;},_0x3bd5a9['hTzzz']=_0xb1a912(0xd0),_0x3bd5a9[_0xb1a912(0xe2)]=function(_0x3e0d95,_0x3cd13e){return _0x3e0d95===_0x3cd13e;};const _0x254c16=_0x3bd5a9,_0x4b5804=_0x11ca36+_0xb1a912(0xe6),_0x1f17d7=_0x5a4c0a[_0x11ca36],_0x3c09e0=_0x1f17d7[_0xb1a912(0xb4)]('\x20');for(const _0x178104 of frameworks){if(_0x254c16[_0xb1a912(0xc8)](_0x3c09e0[_0xb1a912(0xae)](_0x178104),-0x1)){_0x3c09e0[_0xb1a912(0xb0)](_0x3c09e0[_0xb1a912(0xae)](_0x178104),0x0,_0x254c16['hTzzz']);break;}}let _0x8b2b4f=_0x3c09e0[_0xb1a912(0xbd)]('\x20');return _0x254c16[_0xb1a912(0xe2)](_0x8b2b4f,_0x1f17d7)&&(_0x8b2b4f=_0xb1a912(0xa6)+_0x1f17d7),[_0x4b5804,_0x8b2b4f];}function sdkSetup(){const _0x43910a=a43_0x7f613b,_0x400b4a={};_0x400b4a[_0x43910a(0xad)]='node-setup',_0x400b4a[_0x43910a(0xc6)]=_0x43910a(0xda);const _0x1dfc4a=_0x400b4a;if(helper[_0x43910a(0xbf)](config))return;config[_0x43910a(0xa9)]=_0x1dfc4a[_0x43910a(0xad)];try{helper[_0x43910a(0xb1)](_0x1dfc4a[_0x43910a(0xc6)],{},config,'');}catch(_0x3de969){logger[_0x43910a(0xbb)](_0x43910a(0xc5)+_0x3de969);}}logger[a43_0x7f613b(0xaa)](a43_0x7f613b(0xab));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a44_0x1151(){const _0x272d92=['exyej','tpQsA','qHSyP','json','cucumberWorker','gcVOb','platforms','launchBuild','../../helpers/accessibility-automation/helper','worker','test-file-failure','platform-run-failure','map','waitForExit','rdOqm','vanillaWorker','dRWxG','AjLdw','ebLGg','nUBJd','44847HufYzq','rYDiG','platformCaps','3107797biouvn','1744734JGHGYy','exitCode','error','TMjMb','test-file-success','lIXTQ','xpFJi','YOoRR','log','kLLWe','../../helpers/logger','CtfcA','zoaAP','4UkxZVQ','config','jest-worker','p-limit','pipe','forEach','test-file-start','eurKs','YszCK','dyoxP','file','winstonLogger','aBRrf','_workerPool','895236vuDgdH','send','parallelCucumberRun','platform-run-start','length','stderr','HkRJO','platform-run-success','all','util','emit','configuration','NynTF','parallelVanillaRun','dyATw','InTFv','Workers\x20failed\x20to\x20exit\x20gracefully','_child','parallelTestRun','Running\x20','lfiPc','debug','platform','mWxDA','../../helpers/test-observability/utils','rvWJy','getStdout','baCmd','accessibility','emittery','getWorkers','push','stdout','stop','./testWorker.js','../../helpers/testhub/testhubHandler','getStderr','1536CyoUEX','609711ccKAjj','MOCHA','fyBkB','end','../../helpers/test-observability/sessionHandler','XPyFL','exit','15pCwqrt','364794DithmR','then','resolve','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','465140zfydFc','failureCount'];a44_0x1151=function(){return _0x272d92;};return a44_0x1151();}const a44_0x3734ce=a44_0x34e8;(function(_0x2ff4bd,_0x5d7403){const _0x2d82e0=a44_0x34e8,_0x2dd1e6=_0x2ff4bd();while(!![]){try{const _0x301e6d=parseInt(_0x2d82e0(0x1f7))/0x1+-parseInt(_0x2d82e0(0x21d))/0x2+-parseInt(_0x2d82e0(0x1ff))/0x3*(parseInt(_0x2d82e0(0x1c3))/0x4)+-parseInt(_0x2d82e0(0x1fe))/0x5*(parseInt(_0x2d82e0(0x1d1))/0x6)+parseInt(_0x2d82e0(0x21c))/0x7+-parseInt(_0x2d82e0(0x1f6))/0x8*(-parseInt(_0x2d82e0(0x219))/0x9)+-parseInt(_0x2d82e0(0x203))/0xa;if(_0x301e6d===_0x5d7403)break;else _0x2dd1e6['push'](_0x2dd1e6['shift']());}catch(_0x684cd3){_0x2dd1e6['push'](_0x2dd1e6['shift']());}}}(a44_0x1151,0x7f851));const Worker=require(a44_0x3734ce(0x1c5))['Worker'],Emittery=require(a44_0x3734ce(0x1ee)),pLimit=require(a44_0x3734ce(0x1c6)),util=require(a44_0x3734ce(0x1da)),logger=require(a44_0x3734ce(0x1c0))[a44_0x3734ce(0x1ce)],{createAccessibilityTestRun,stopAccessibilityTestRun,isAccessibilityAutomationSession}=require(a44_0x3734ce(0x20d)),SessionHandler=require(a44_0x3734ce(0x1fb)),{getFrameworkVersion,isTestObservabilitySession,debug}=require(a44_0x3734ce(0x1e9)),TestHubHandler=require(a44_0x3734ce(0x1f4)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),checkAccessibility=_0x4f044d=>{const _0x38d007=a44_0x3734ce,_0x8132d3={};_0x8132d3[_0x38d007(0x1df)]=function(_0x42faf6,_0x22892e){return _0x42faf6===_0x22892e;};const _0x4d7885=_0x8132d3;let _0x45ade9=![];try{_0x4f044d[_0x38d007(0x20b)][_0x38d007(0x1c8)](_0x1fccf9=>{const _0x4a620f=_0x38d007;if(_0x4d7885['dyATw'](_0x1fccf9[_0x4a620f(0x1ed)],!![]))return _0x45ade9=!![],!![];});}catch(_0x43f94f){logger[_0x38d007(0x1e6)](_0x38d007(0x202)+_0x43f94f);}return _0x45ade9;};function a44_0x34e8(_0x54cb01,_0x42766b){const _0x1151b9=a44_0x1151();return a44_0x34e8=function(_0x34e8b5,_0x590bf6){_0x34e8b5=_0x34e8b5-0x1bf;let _0x3c9f28=_0x1151b9[_0x34e8b5];return _0x3c9f28;},a44_0x34e8(_0x54cb01,_0x42766b);}exports[a44_0x3734ce(0x1e3)]=(_0x361d2c,_0x445e9a,_0x5878ee)=>new Promise(async _0x3adbb2=>{const _0x5cc9c2=a44_0x3734ce,_0x5280b7={'ebLGg':_0x5cc9c2(0x204),'yPRUT':function(_0x52ac5b,_0x58a7c5){return _0x52ac5b+_0x58a7c5;},'nUBJd':'results','YOoRR':_0x5cc9c2(0x1e1),'aBRrf':function(_0x2fc194,_0xf663a8){return _0x2fc194(_0xf663a8);},'beRrP':function(_0x471d52,_0x2f06b5){return _0x471d52(_0x2f06b5);},'lfiPc':_0x5cc9c2(0x1c9),'NynTF':_0x5cc9c2(0x1f3),'egWQd':'worker','lIXTQ':_0x5cc9c2(0x208),'HkRJO':'pipe','rYDiG':function(_0x4d8db7,_0x2568cb){return _0x4d8db7*_0x2568cb;},'TMZzE':'test-file-success','dyoxP':'test-file-failure','InTFv':function(_0x19bd70,_0x1d08bc){return _0x19bd70*_0x1d08bc;}},_0x11908d=_0x5878ee[_0x5cc9c2(0x1c4)],_0xa26a5f={},_0x170fa1=await TestHubHandler[_0x5cc9c2(0x20c)](FRAMEWORKS[_0x5cc9c2(0x1f8)],_0x5878ee),_0x4e61ea=new Worker(require['resolve'](_0x5280b7[_0x5cc9c2(0x1dd)]),{'exposedMethods':[_0x5280b7['egWQd']],'forkOptions':{'serialization':_0x5280b7[_0x5cc9c2(0x222)],'stdio':_0x5280b7[_0x5cc9c2(0x1d7)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x5280b7[_0x5cc9c2(0x21a)](_0x445e9a,0x1),'enableWorkerThreads':!![]}),_0x57dcdf=new Emittery();_0x57dcdf['on'](_0x5280b7['TMZzE'],_0x6714e0=>{const _0x7722f9=_0x5cc9c2;_0xa26a5f[_0x6714e0[0x0]]?(_0xa26a5f[_0x6714e0[0x0]][_0x5280b7['ebLGg']]=_0x5280b7['yPRUT'](_0xa26a5f[_0x6714e0[0x0]][_0x5280b7[_0x7722f9(0x217)]],_0x6714e0[0x1][_0x5280b7[_0x7722f9(0x217)]]),_0xa26a5f[_0x6714e0[0x0]][_0x5280b7['nUBJd']]=[..._0xa26a5f[_0x6714e0[0x0]][_0x5280b7[_0x7722f9(0x218)]],..._0x6714e0[0x1][_0x5280b7[_0x7722f9(0x218)]]]):_0xa26a5f[_0x6714e0[0x0]]={'failureCount':_0x6714e0[0x1][_0x5280b7[_0x7722f9(0x217)]],'results':[..._0x6714e0[0x1][_0x5280b7['nUBJd']]]};}),_0x57dcdf['on'](_0x5280b7[_0x5cc9c2(0x1cc)],_0x115c05=>console['log'](_0x115c05[0x1]));_0x4e61ea[_0x5cc9c2(0x1eb)]()&&_0x4e61ea[_0x5cc9c2(0x1eb)]()[_0x5cc9c2(0x1c7)](process[_0x5cc9c2(0x1f1)]);_0x4e61ea[_0x5cc9c2(0x1f5)]()&&_0x4e61ea[_0x5cc9c2(0x1f5)]()[_0x5cc9c2(0x1c7)](process['stderr']);const _0x201a5e=async()=>{const _0x6c88c=_0x5cc9c2,{forceExited:_0x585375}=await _0x4e61ea[_0x6c88c(0x1fa)]();_0x585375&&console[_0x6c88c(0x21f)](_0x5280b7[_0x6c88c(0x224)]);try{await TestHubHandler[_0x6c88c(0x1f2)]();}catch(_0x3d9ec0){_0x5280b7[_0x6c88c(0x1cf)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20'+_0x3d9ec0);}_0x5280b7['beRrP'](_0x3adbb2,_0xa26a5f);},_0x40703d=_0x5280b7[_0x5cc9c2(0x1cf)](pLimit,_0x5280b7[_0x5cc9c2(0x1e0)](_0x445e9a,0x1)),_0x43d8c0=_0x301177=>_0x40703d(async()=>{const _0x4a72d0=_0x5cc9c2;return await _0x57dcdf['emit'](_0x5280b7[_0x4a72d0(0x1e5)],_0x301177),_0x4e61ea[_0x4a72d0(0x20e)](_0x301177,_0x11908d);});Promise[_0x5cc9c2(0x1d9)](_0x361d2c['map'](_0xcd1811=>_0x43d8c0(_0xcd1811)[_0x5cc9c2(0x200)](_0x320dc9=>_0x57dcdf[_0x5cc9c2(0x1db)](_0x5cc9c2(0x221),[_0xcd1811['configuration'][_0x5cc9c2(0x1e7)],_0x320dc9]),_0x5e4e1f=>_0x57dcdf[_0x5cc9c2(0x1db)](_0x5cc9c2(0x20f),[_0xcd1811,_0x5e4e1f]))))[_0x5cc9c2(0x200)](_0x201a5e,_0x201a5e);}),exports[a44_0x3734ce(0x1d3)]=(_0x203462,_0x1a7980,_0x394ade,_0x29ee1d,_0xcd7725)=>{const _0x5b07dc=a44_0x3734ce,_0xb303c0={'yAZjx':_0x5b07dc(0x1d4),'AjLdw':_0x5b07dc(0x1e1),'fyBkB':function(_0x2524e7,_0x27e853){return _0x2524e7(_0x27e853);},'rdOqm':_0x5b07dc(0x1f3),'xpFJi':_0x5b07dc(0x209),'mWxDA':_0x5b07dc(0x208),'XPyFL':_0x5b07dc(0x1c7),'tBEsd':_0x5b07dc(0x1d8),'kLLWe':_0x5b07dc(0x210)};return new Promise(_0x868013=>{const _0x415642=_0x5b07dc,_0x33ebb5={'baCmd':_0xb303c0[_0x415642(0x216)],'CtfcA':function(_0x3f07b8,_0x411b7c){const _0x76f4a4=_0x415642;return _0xb303c0[_0x76f4a4(0x1f9)](_0x3f07b8,_0x411b7c);}},_0x1e2e36=[],_0xba7e26=new Worker(require[_0x415642(0x201)](_0xb303c0[_0x415642(0x213)]),{'exposedMethods':[_0xb303c0[_0x415642(0x223)]],'forkOptions':{'serialization':_0xb303c0[_0x415642(0x1e8)],'stdio':_0xb303c0[_0x415642(0x1fc)]},'numWorkers':_0x203462[_0x415642(0x1d5)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x4e7a9b=new Emittery();_0x4e7a9b['on'](_0xb303c0['tBEsd'],_0x1cfd9c=>{const _0x5a7758=_0x415642;_0x1e2e36[_0x5a7758(0x1f0)]([_0x1cfd9c[0x0],_0x1cfd9c[0x1]]);}),_0x4e7a9b['on'](_0xb303c0[_0x415642(0x1bf)],_0x3e0ff1=>console[_0x415642(0x225)](_0x3e0ff1[0x1]));_0xba7e26[_0x415642(0x1eb)]()&&_0xba7e26['getStdout']()[_0x415642(0x1c7)](process[_0x415642(0x1f1)]);_0xba7e26['getStderr']()&&_0xba7e26['getStderr']()[_0x415642(0x1c7)](process[_0x415642(0x1d6)]);const _0x37c4a4=async()=>{const _0x4707ae=_0x415642,{forceExited:_0x2cac98}=await _0xba7e26[_0x4707ae(0x1fa)]();_0x2cac98&&console['error'](_0x33ebb5[_0x4707ae(0x1ec)]),_0x33ebb5[_0x4707ae(0x1c1)](_0x868013,_0x1e2e36);},_0x3b68e4=_0xb303c0[_0x415642(0x1f9)](pLimit,_0x203462[_0x415642(0x1d5)]||0x1),_0x55e262=(_0x14c345,_0x3d266b)=>_0x3b68e4(async()=>{const _0x44be1f=_0x415642;return await _0x4e7a9b['emit'](_0xb303c0['yAZjx'],_0x14c345),_0x1a7980[_0x44be1f(0x21b)]=_0x394ade[_0x44be1f(0x20b)][_0x3d266b],_0xba7e26[_0x44be1f(0x209)](_0x14c345,_0x1a7980,_0x394ade,_0x29ee1d,_0xcd7725);});Promise[_0x415642(0x1d9)](_0x203462[_0x415642(0x211)]((_0x10ebcd,_0x5de06a)=>_0x55e262(_0x10ebcd,_0x5de06a)[_0x415642(0x200)](_0x157e09=>_0x4e7a9b[_0x415642(0x1db)](_0x415642(0x1d8),[_0x10ebcd,_0x157e09]),_0x3c180c=>_0x4e7a9b[_0x415642(0x1db)](_0x415642(0x210),[_0x10ebcd,_0x3c180c]))))['then'](_0x37c4a4,_0x37c4a4);});},exports[a44_0x3734ce(0x1de)]=(_0x3d22ab,_0x2fb097)=>new Promise(_0x1bd0c8=>{const _0x33bc41=a44_0x3734ce,_0x2cc6a4={'gcVOb':function(_0x206718,_0x59df73){return _0x206718===_0x59df73;},'exyej':function(_0x24b6e6,_0x9dc9a7){return _0x24b6e6!==_0x9dc9a7;},'vUocM':_0x33bc41(0x1fd),'TMjMb':_0x33bc41(0x1e1),'zoaAP':function(_0x5abc00,_0x10a7fd){return _0x5abc00(_0x10a7fd);},'tpQsA':_0x33bc41(0x1f3),'rvWJy':_0x33bc41(0x214),'fOmlN':_0x33bc41(0x208),'YszCK':_0x33bc41(0x1c7),'qFzpE':_0x33bc41(0x221),'eurKs':'test-file-failure','dRWxG':function(_0x11ce94,_0x1b27a6){return _0x11ce94(_0x1b27a6);}},_0x1fa0e3={},_0x1b293c=new Worker(require['resolve'](_0x2cc6a4[_0x33bc41(0x206)]),{'exposedMethods':[_0x2cc6a4[_0x33bc41(0x1ea)]],'forkOptions':{'serialization':_0x2cc6a4['fOmlN'],'stdio':_0x2cc6a4[_0x33bc41(0x1cb)]},'numWorkers':_0x2fb097,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0xde140b=new Emittery();_0xde140b['on'](_0x2cc6a4['qFzpE'],_0x2e3191=>{const _0x2e6a74=_0x33bc41;_0x2e3191[0x0]&&logger['info'](_0x2e6a74(0x1e4)+_0x2e3191[0x1]+'\x20for',_0x2e3191[0x0]);}),_0xde140b['on'](_0x2cc6a4[_0x33bc41(0x1ca)],_0x277651=>{const _0x50b535=_0x33bc41;process[_0x50b535(0x21e)]=0x1;});_0x1b293c[_0x33bc41(0x1eb)]()&&_0x1b293c['getStdout']()[_0x33bc41(0x1c7)](process[_0x33bc41(0x1f1)]);_0x1b293c[_0x33bc41(0x1f5)]()&&_0x1b293c['getStderr']()[_0x33bc41(0x1c7)](process[_0x33bc41(0x1d6)]);const _0xb0abd1=async()=>{const _0x2143eb=_0x33bc41,_0x2c914a={'ZybyE':function(_0x4f947c,_0x40ba87){const _0x2f8715=a44_0x34e8;return _0x2cc6a4[_0x2f8715(0x20a)](_0x4f947c,_0x40ba87);},'QfezM':function(_0x58c281,_0x352645){const _0x2cca85=a44_0x34e8;return _0x2cc6a4[_0x2cca85(0x205)](_0x58c281,_0x352645);},'wXqli':_0x2cc6a4['vUocM']};let _0x27d245=0x0;const _0x322220=_0x1b293c[_0x2143eb(0x1d0)][_0x2143eb(0x1ef)](),_0x1650c7=()=>{},_0x5c81b0=_0x322220[_0x2143eb(0x211)](async _0x43fa3e=>{const _0x54e49d=_0x2143eb,_0x9aa3c0={'XnJWv':function(_0x17d864,_0x633293){return _0x2c914a['ZybyE'](_0x17d864,_0x633293);},'qHSyP':function(_0x4b15af,_0x2518fe){return _0x2c914a['QfezM'](_0x4b15af,_0x2518fe);}};_0x43fa3e[_0x54e49d(0x1d2)]([0x2,![]],_0x1650c7,_0x1650c7,_0x1650c7),_0x43fa3e[_0x54e49d(0x1e2)]['on'](_0x2c914a['wXqli'],_0x5df0a2=>{const _0x12ec91=_0x54e49d;_0x9aa3c0['XnJWv'](_0x27d245,0x0)&&_0x9aa3c0[_0x12ec91(0x207)](_0x5df0a2,0x0)&&(_0x27d245=_0x5df0a2);}),await _0x43fa3e[_0x54e49d(0x212)]();});await Promise['all'](_0x5c81b0),process['exitCode']=_0x27d245;const {forceExited:_0x2c2d7c}=await _0x1b293c[_0x2143eb(0x1fa)]();_0x2c2d7c&&console[_0x2143eb(0x21f)](_0x2cc6a4[_0x2143eb(0x220)]),_0x2cc6a4[_0x2143eb(0x1c2)](_0x1bd0c8,_0x1fa0e3);},_0x3eadc8=_0x2cc6a4[_0x33bc41(0x215)](pLimit,_0x2fb097),_0x4f3835=_0x300346=>_0x3eadc8(async()=>{const _0x344523=_0x33bc41;return _0x1b293c[_0x344523(0x214)](_0x300346);});Promise[_0x33bc41(0x1d9)](_0x3d22ab['map'](_0xb5f5dc=>_0x4f3835(_0xb5f5dc)[_0x33bc41(0x200)](_0x27066d=>_0xde140b[_0x33bc41(0x1db)](_0x33bc41(0x221),[_0xb5f5dc[_0x33bc41(0x1dc)][_0x33bc41(0x1e7)],_0xb5f5dc['configuration'][_0x33bc41(0x1cd)]]),_0x2a6401=>_0xde140b[_0x33bc41(0x1db)](_0x33bc41(0x20f),[_0xb5f5dc,_0x2a6401]))))[_0x33bc41(0x200)](_0xb0abd1,_0xb0abd1);});
|
|
1
|
+
const a44_0x486760=a44_0x40dc;(function(_0x4b4df0,_0x26749c){const _0x3c9108=a44_0x40dc,_0x445088=_0x4b4df0();while(!![]){try{const _0x228eb0=-parseInt(_0x3c9108(0x22c))/0x1*(parseInt(_0x3c9108(0x207))/0x2)+parseInt(_0x3c9108(0x246))/0x3+-parseInt(_0x3c9108(0x1e9))/0x4*(parseInt(_0x3c9108(0x22f))/0x5)+-parseInt(_0x3c9108(0x20b))/0x6*(-parseInt(_0x3c9108(0x1f8))/0x7)+-parseInt(_0x3c9108(0x21c))/0x8*(parseInt(_0x3c9108(0x1ef))/0x9)+-parseInt(_0x3c9108(0x23c))/0xa*(-parseInt(_0x3c9108(0x210))/0xb)+parseInt(_0x3c9108(0x222))/0xc;if(_0x228eb0===_0x26749c)break;else _0x445088['push'](_0x445088['shift']());}catch(_0x7cb56f){_0x445088['push'](_0x445088['shift']());}}}(a44_0x28f7,0xbc0f8));function a44_0x40dc(_0x1454fb,_0x204857){const _0x28f7cd=a44_0x28f7();return a44_0x40dc=function(_0x40dc6e,_0x1d4913){_0x40dc6e=_0x40dc6e-0x1e6;let _0x1a2d09=_0x28f7cd[_0x40dc6e];return _0x1a2d09;},a44_0x40dc(_0x1454fb,_0x204857);}function a44_0x28f7(){const _0x41e339=['972642iBynVK','Worker','config','platform-run-start','util','39831CahYFU','accessibility','../../helpers/logger','IPUCq','emit','then','WLamc','parallelCucumberRun','results','jest-worker','cucumberWorker','stdout','6064aRMkaw','IWgmo','map','yiSfq','GajPU','log','42458700EYSSte','getStdout','pipe','mxySh','test-file-success','zBKnt','getStderr','qESxZ','../../helpers/accessibility-automation/helper','./testWorker.js','2YioxEt','exitCode','kRBYV','435UJZMQb','exit','bXVhm','platform-run-success','BkQch','platforms','error','ZApBW','wmvvM','rrikq','iYUpf','\x20for','wbysb','30rvnASZ','stderr','getWorkers','resolve','platform-run-failure','dEDWa','all','mQmPG','Workers\x20failed\x20to\x20exit\x20gracefully','_workerPool','1645476cZkAiz','OuXAO','eyCEj','winstonLogger','MOCHA','length','WdClb','49996nQlyrs','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','wwSsS','forEach','vanillaWorker','send','14400nLlykr','../../helpers/test-observability/utils','platform','kYtAr','qWdqw','hSQAb','../../helpers/test-observability/sessionHandler','test-file-start','jCGoj','7BqxtQa','AldUL','Running\x20','json','worker','test-file-failure','VvjYO','p-limit','AFvCf','emittery','stop','gXgKj','yUnUl','configuration','zduuB','1189178BTyDza','ignDP','debug','end'];a44_0x28f7=function(){return _0x41e339;};return a44_0x28f7();}const Worker=require(a44_0x486760(0x219))[a44_0x486760(0x20c)],Emittery=require(a44_0x486760(0x201)),pLimit=require(a44_0x486760(0x1ff)),util=require(a44_0x486760(0x20f)),logger=require(a44_0x486760(0x212))[a44_0x486760(0x249)],{createAccessibilityTestRun,stopAccessibilityTestRun,isAccessibilityAutomationSession}=require(a44_0x486760(0x22a)),SessionHandler=require(a44_0x486760(0x1f5)),{getFrameworkVersion,isTestObservabilitySession,debug}=require(a44_0x486760(0x1f0)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),checkAccessibility=_0x42fd51=>{const _0x2d282d=a44_0x486760,_0x3f27f3={};_0x3f27f3[_0x2d282d(0x200)]=function(_0x33be6b,_0x464547){return _0x33be6b===_0x464547;};const _0x470ed8=_0x3f27f3;let _0xfec3ee=![];try{_0x42fd51['platforms'][_0x2d282d(0x1ec)](_0x1a2b58=>{const _0x1da916=_0x2d282d;if(_0x470ed8[_0x1da916(0x200)](_0x1a2b58[_0x1da916(0x211)],!![]))return _0xfec3ee=!![],!![];});}catch(_0x3c584b){logger[_0x2d282d(0x209)]('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x3c584b);}return _0xfec3ee;};exports['parallelTestRun']=(_0x11aa63,_0x5b5738,_0x2ab0e0)=>new Promise(async _0x1ae6e0=>{const _0x508090=a44_0x486760,_0x3d2f5d={'WdClb':'failureCount','qWdqw':function(_0x3797e3,_0x5931fc){return _0x3797e3+_0x5931fc;},'kRBYV':_0x508090(0x218),'WLamc':_0x508090(0x244),'hSQAb':function(_0x3b7999,_0x46e870){return _0x3b7999(_0x46e870);},'bXVhm':function(_0x654362,_0x499453){return _0x654362(_0x499453);},'qESxZ':_0x508090(0x1f6),'zduuB':_0x508090(0x22b),'kYtAr':'worker','yUnUl':_0x508090(0x1fb),'IzGaJ':_0x508090(0x224),'OuXAO':function(_0x26e3d5,_0x411134){return _0x26e3d5*_0x411134;},'eyCEj':'test-file-success','XodUC':_0x508090(0x1fd),'VyVzn':function(_0x2c1c4f,_0x3078e5){return _0x2c1c4f*_0x3078e5;}},_0x377970=_0x2ab0e0[_0x508090(0x20d)],_0x2f203a={},_0x177d1f=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x508090(0x1e6)],_0x2ab0e0),_0x5e0489=new Worker(require[_0x508090(0x23f)](_0x3d2f5d[_0x508090(0x206)]),{'exposedMethods':[_0x3d2f5d[_0x508090(0x1f2)]],'forkOptions':{'serialization':_0x3d2f5d[_0x508090(0x204)],'stdio':_0x3d2f5d['IzGaJ']},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x3d2f5d[_0x508090(0x247)](_0x5b5738,0x1),'enableWorkerThreads':!![]}),_0x2f73f2=new Emittery();_0x2f73f2['on'](_0x3d2f5d[_0x508090(0x248)],_0x522610=>{const _0x25e5b2=_0x508090;_0x2f203a[_0x522610[0x0]]?(_0x2f203a[_0x522610[0x0]][_0x3d2f5d[_0x25e5b2(0x1e8)]]=_0x3d2f5d[_0x25e5b2(0x1f3)](_0x2f203a[_0x522610[0x0]][_0x3d2f5d['WdClb']],_0x522610[0x1][_0x3d2f5d[_0x25e5b2(0x1e8)]]),_0x2f203a[_0x522610[0x0]][_0x3d2f5d[_0x25e5b2(0x22e)]]=[..._0x2f203a[_0x522610[0x0]][_0x3d2f5d[_0x25e5b2(0x22e)]],..._0x522610[0x1][_0x3d2f5d[_0x25e5b2(0x22e)]]]):_0x2f203a[_0x522610[0x0]]={'failureCount':_0x522610[0x1][_0x3d2f5d['WdClb']],'results':[..._0x522610[0x1][_0x3d2f5d[_0x25e5b2(0x22e)]]]};}),_0x2f73f2['on'](_0x3d2f5d['XodUC'],_0x8f4f7e=>console[_0x508090(0x221)](_0x8f4f7e[0x1]));_0x5e0489[_0x508090(0x223)]()&&_0x5e0489[_0x508090(0x223)]()['pipe'](process[_0x508090(0x21b)]);_0x5e0489['getStderr']()&&_0x5e0489[_0x508090(0x228)]()[_0x508090(0x224)](process[_0x508090(0x23d)]);const _0x4fb4fb=async()=>{const _0x3db0d9=_0x508090,{forceExited:_0x591151}=await _0x5e0489[_0x3db0d9(0x20a)]();_0x591151&&console[_0x3db0d9(0x235)](_0x3d2f5d[_0x3db0d9(0x216)]);try{await TestHubHandler[_0x3db0d9(0x202)]();}catch(_0x4f0c5d){_0x3d2f5d[_0x3db0d9(0x1f4)](debug,_0x3db0d9(0x1ea)+_0x4f0c5d);}_0x3d2f5d[_0x3db0d9(0x231)](_0x1ae6e0,_0x2f203a);},_0xec37a9=_0x3d2f5d[_0x508090(0x231)](pLimit,_0x3d2f5d['VyVzn'](_0x5b5738,0x1)),_0x702a9d=_0x190a71=>_0xec37a9(async()=>{const _0x99aa3b=_0x508090;return await _0x2f73f2[_0x99aa3b(0x214)](_0x3d2f5d[_0x99aa3b(0x229)],_0x190a71),_0x5e0489[_0x99aa3b(0x1fc)](_0x190a71,_0x377970);});Promise[_0x508090(0x242)](_0x11aa63[_0x508090(0x21e)](_0x4a4818=>_0x702a9d(_0x4a4818)[_0x508090(0x215)](_0x4de277=>_0x2f73f2[_0x508090(0x214)](_0x508090(0x226),[_0x4a4818[_0x508090(0x205)]['platform'],_0x4de277]),_0x5ec25b=>_0x2f73f2[_0x508090(0x214)]('test-file-failure',[_0x4a4818,_0x5ec25b]))))['then'](_0x4fb4fb,_0x4fb4fb);}),exports[a44_0x486760(0x217)]=(_0x75b44d,_0xbbcbd8,_0x4454a9,_0x1743a9,_0x2979dd)=>{const _0xd67405=a44_0x486760,_0x33c828={'mQmPG':_0xd67405(0x244),'BkQch':function(_0x30370b,_0x34b957){return _0x30370b(_0x34b957);},'sgiqO':_0xd67405(0x20e),'xSABC':_0xd67405(0x22b),'IafmG':'cucumberWorker','IWgmo':'json','gXgKj':_0xd67405(0x224),'iYUpf':_0xd67405(0x232),'GajPU':_0xd67405(0x240)};return new Promise(_0x3c7df7=>{const _0x233b13=_0xd67405,_0x399f96={};_0x399f96[_0x233b13(0x213)]=_0x33c828['sgiqO'];const _0xf0f6c0=_0x399f96,_0x179702=[],_0x220694=new Worker(require['resolve'](_0x33c828['xSABC']),{'exposedMethods':[_0x33c828['IafmG']],'forkOptions':{'serialization':_0x33c828[_0x233b13(0x21d)],'stdio':_0x33c828[_0x233b13(0x203)]},'numWorkers':_0x75b44d[_0x233b13(0x1e7)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x5cec9a=new Emittery();_0x5cec9a['on'](_0x33c828[_0x233b13(0x239)],_0x28a567=>{_0x179702['push']([_0x28a567[0x0],_0x28a567[0x1]]);}),_0x5cec9a['on'](_0x33c828[_0x233b13(0x220)],_0x42742e=>console[_0x233b13(0x221)](_0x42742e[0x1]));_0x220694[_0x233b13(0x223)]()&&_0x220694[_0x233b13(0x223)]()[_0x233b13(0x224)](process[_0x233b13(0x21b)]);_0x220694[_0x233b13(0x228)]()&&_0x220694[_0x233b13(0x228)]()[_0x233b13(0x224)](process['stderr']);const _0x4e5f93=async()=>{const _0x154472=_0x233b13,{forceExited:_0x2d593f}=await _0x220694[_0x154472(0x20a)]();_0x2d593f&&console[_0x154472(0x235)](_0x33c828[_0x154472(0x243)]),_0x33c828[_0x154472(0x233)](_0x3c7df7,_0x179702);},_0x9ce61d=_0x33c828[_0x233b13(0x233)](pLimit,_0x75b44d[_0x233b13(0x1e7)]||0x1),_0x5c961a=(_0x5c43a2,_0xd501d7)=>_0x9ce61d(async()=>{const _0x2bf1d6=_0x233b13;return await _0x5cec9a[_0x2bf1d6(0x214)](_0xf0f6c0[_0x2bf1d6(0x213)],_0x5c43a2),_0xbbcbd8['platformCaps']=_0x4454a9[_0x2bf1d6(0x234)][_0xd501d7],_0x220694[_0x2bf1d6(0x21a)](_0x5c43a2,_0xbbcbd8,_0x4454a9,_0x1743a9,_0x2979dd);});Promise[_0x233b13(0x242)](_0x75b44d['map']((_0x5c85f8,_0x4aeb8b)=>_0x5c961a(_0x5c85f8,_0x4aeb8b)[_0x233b13(0x215)](_0x257921=>_0x5cec9a[_0x233b13(0x214)](_0x233b13(0x232),[_0x5c85f8,_0x257921]),_0x4bcce6=>_0x5cec9a[_0x233b13(0x214)]('platform-run-failure',[_0x5c85f8,_0x4bcce6]))))[_0x233b13(0x215)](_0x4e5f93,_0x4e5f93);});},exports['parallelVanillaRun']=(_0x37af15,_0x5b044c)=>new Promise(_0x1bda29=>{const _0x3a7667=a44_0x486760,_0x5012d8={'piblP':function(_0x540dc4,_0x2961fe){return _0x540dc4===_0x2961fe;},'rrikq':function(_0x117da2,_0x1036a3){return _0x117da2!==_0x1036a3;},'wbysb':_0x3a7667(0x230),'AldUL':_0x3a7667(0x244),'ignDP':function(_0x5da586,_0x4d62fa){return _0x5da586(_0x4d62fa);},'xADBD':_0x3a7667(0x22b),'mxySh':'vanillaWorker','wwSsS':_0x3a7667(0x1fb),'zBKnt':'pipe','dEDWa':_0x3a7667(0x226),'jCGoj':_0x3a7667(0x1fd),'wmvvM':function(_0x107068,_0x2c5c9c){return _0x107068(_0x2c5c9c);}},_0x463b8d={},_0x9994a6=new Worker(require[_0x3a7667(0x23f)](_0x5012d8['xADBD']),{'exposedMethods':[_0x5012d8[_0x3a7667(0x225)]],'forkOptions':{'serialization':_0x5012d8[_0x3a7667(0x1eb)],'stdio':_0x5012d8[_0x3a7667(0x227)]},'numWorkers':_0x5b044c,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x3be964=new Emittery();_0x3be964['on'](_0x5012d8[_0x3a7667(0x241)],_0x3c4b4d=>{const _0x2d55d4=_0x3a7667;_0x3c4b4d[0x0]&&logger['info'](_0x2d55d4(0x1fa)+_0x3c4b4d[0x1]+_0x2d55d4(0x23a),_0x3c4b4d[0x0]);}),_0x3be964['on'](_0x5012d8[_0x3a7667(0x1f7)],_0x67f981=>{const _0x311adc=_0x3a7667;process[_0x311adc(0x22d)]=0x1;});_0x9994a6[_0x3a7667(0x223)]()&&_0x9994a6[_0x3a7667(0x223)]()[_0x3a7667(0x224)](process[_0x3a7667(0x21b)]);_0x9994a6[_0x3a7667(0x228)]()&&_0x9994a6[_0x3a7667(0x228)]()['pipe'](process['stderr']);const _0x5e65fe=async()=>{const _0x2fcafa=_0x3a7667,_0xa6e3e5={'yiSfq':function(_0x402c74,_0x523e6f){return _0x5012d8['piblP'](_0x402c74,_0x523e6f);},'VvjYO':function(_0x2d3ca0,_0x4b30dd){const _0x4ced83=a44_0x40dc;return _0x5012d8[_0x4ced83(0x238)](_0x2d3ca0,_0x4b30dd);},'ZApBW':_0x5012d8[_0x2fcafa(0x23b)]};let _0x29fda6=0x0;const _0x5d3e67=_0x9994a6[_0x2fcafa(0x245)][_0x2fcafa(0x23e)](),_0xe2cbe2=()=>{},_0x30a482=_0x5d3e67[_0x2fcafa(0x21e)](async _0x318fc0=>{const _0x2a2438=_0x2fcafa;_0x318fc0[_0x2a2438(0x1ee)]([0x2,![]],_0xe2cbe2,_0xe2cbe2,_0xe2cbe2),_0x318fc0['_child']['on'](_0xa6e3e5[_0x2a2438(0x236)],_0x514f02=>{const _0x9234bf=_0x2a2438;_0xa6e3e5[_0x9234bf(0x21f)](_0x29fda6,0x0)&&_0xa6e3e5[_0x9234bf(0x1fe)](_0x514f02,0x0)&&(_0x29fda6=_0x514f02);}),await _0x318fc0['waitForExit']();});await Promise[_0x2fcafa(0x242)](_0x30a482),process[_0x2fcafa(0x22d)]=_0x29fda6;const {forceExited:_0x1e4cd0}=await _0x9994a6[_0x2fcafa(0x20a)]();_0x1e4cd0&&console[_0x2fcafa(0x235)](_0x5012d8[_0x2fcafa(0x1f9)]),_0x5012d8[_0x2fcafa(0x208)](_0x1bda29,_0x463b8d);},_0x127583=_0x5012d8[_0x3a7667(0x237)](pLimit,_0x5b044c),_0x1c065c=_0x4f2888=>_0x127583(async()=>{const _0x4fddd0=_0x3a7667;return _0x9994a6[_0x4fddd0(0x1ed)](_0x4f2888);});Promise[_0x3a7667(0x242)](_0x37af15[_0x3a7667(0x21e)](_0x2626ff=>_0x1c065c(_0x2626ff)[_0x3a7667(0x215)](_0x38f94f=>_0x3be964[_0x3a7667(0x214)](_0x3a7667(0x226),[_0x2626ff['configuration'][_0x3a7667(0x1f1)],_0x2626ff['configuration']['file']]),_0x1d9145=>_0x3be964[_0x3a7667(0x214)](_0x3a7667(0x1fd),[_0x2626ff,_0x1d9145]))))[_0x3a7667(0x215)](_0x5e65fe,_0x5e65fe);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a45_0x25ac06=a45_0x3b4a;function a45_0x3b4a(_0x3439d7,_0x5bac41){const _0x229982=a45_0x2299();return a45_0x3b4a=function(_0x3b4aca,_0x4155a9){_0x3b4aca=_0x3b4aca-0x145;let _0x753128=_0x229982[_0x3b4aca];return _0x753128;},a45_0x3b4a(_0x3439d7,_0x5bac41);}(function(_0x46b256,_0x3f7562){const _0x132d74=a45_0x3b4a,_0x4801d1=_0x46b256();while(!![]){try{const _0x44f5e9=-parseInt(_0x132d74(0x15b))/0x1*(-parseInt(_0x132d74(0x145))/0x2)+-parseInt(_0x132d74(0x154))/0x3+parseInt(_0x132d74(0x15a))/0x4*(parseInt(_0x132d74(0x14e))/0x5)+-parseInt(_0x132d74(0x153))/0x6*(-parseInt(_0x132d74(0x155))/0x7)+parseInt(_0x132d74(0x146))/0x8+parseInt(_0x132d74(0x159))/0x9+-parseInt(_0x132d74(0x147))/0xa;if(_0x44f5e9===_0x3f7562)break;else _0x4801d1['push'](_0x4801d1['shift']());}catch(_0x35a5c9){_0x4801d1['push'](_0x4801d1['shift']());}}}(a45_0x2299,0x7754f),exports[a45_0x25ac06(0x14a)]=async(_0x4b8c8,_0x325049)=>{const _0x67cbd0=a45_0x25ac06,_0x2f1918={'BbYxY':function(_0xc2a8d8,_0x82721e){return _0xc2a8d8(_0x82721e);},'KXgCT':'../launcher/launcher','esaye':_0x67cbd0(0x148)},_0x4fb098=_0x2f1918[_0x67cbd0(0x14d)](require,_0x2f1918[_0x67cbd0(0x15c)]),_0x4a8ad9=new _0x4fb098(_0x2f1918[_0x67cbd0(0x150)],_0x4b8c8,_0x325049);return await _0x4a8ad9[_0x67cbd0(0x14f)]();},exports[a45_0x25ac06(0x152)]=async(_0x588a25,_0x231928,_0x1a8739,_0x32aaea,_0x309599)=>{const _0x14efe0=a45_0x25ac06,_0x1fe57c={'yhWZp':function(_0x122dc9,_0xca9eda){return _0x122dc9(_0xca9eda);},'GmUVt':_0x14efe0(0x14b),'dxmpA':_0x14efe0(0x15e)},_0xc1a08f={'capability':_0x588a25,..._0x231928},_0x42108e={};_0x42108e['configuration']=_0xc1a08f,_0x42108e[_0x14efe0(0x157)]=_0x309599;const _0x1aa9e6=_0x42108e,_0xb264f6=_0x1fe57c[_0x14efe0(0x149)](require,_0x1fe57c['GmUVt']),_0x262023=new _0xb264f6(_0x1fe57c[_0x14efe0(0x15d)],_0x1aa9e6,_0x1a8739,_0x32aaea);return await _0x262023[_0x14efe0(0x14f)]();},exports['runVanillaTest']=async _0x81ba4f=>{const _0x4d3ce6=a45_0x25ac06,_0x3a16f2={'UbCue':function(_0x20730a,_0x5cb9e3){return _0x20730a(_0x5cb9e3);},'qhkjo':_0x4d3ce6(0x14b),'GHwBU':_0x4d3ce6(0x158)},_0x1e4cb7=_0x3a16f2[_0x4d3ce6(0x151)](require,_0x3a16f2[_0x4d3ce6(0x156)]),_0x2417df=new _0x1e4cb7(_0x3a16f2[_0x4d3ce6(0x14c)],_0x81ba4f);return await _0x2417df[_0x4d3ce6(0x14f)]();});function a45_0x2299(){const _0x898aad=['../launcher/launcher','GHwBU','BbYxY','5wRpYog','run','esaye','UbCue','runCucumberTest','386526kfdiuA','92496paNlDQ','28dfEEzY','qhkjo','formatter','vanilla','5326371FVjhvF','694352qGJsNt','6133YjSnzW','KXgCT','dxmpA','cucumber-js','166nrucky','4638464Gbkkef','15923230zZTdgz','mocha','yhWZp','runTest'];a45_0x2299=function(){return _0x898aad;};return a45_0x2299();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a46_0x437ef0=a46_0x23f3;(function(_0x2338c0,_0x1a479b){const _0x1fe461=a46_0x23f3,_0x5de0cd=_0x2338c0();while(!![]){try{const _0x90593b=-parseInt(_0x1fe461(0x1be))/0x1+parseInt(_0x1fe461(0x1b1))/0x2+-parseInt(_0x1fe461(0x1bd))/0x3+parseInt(_0x1fe461(0x1b7))/0x4+parseInt(_0x1fe461(0x1b3))/0x5*(-parseInt(_0x1fe461(0x1b9))/0x6)+parseInt(_0x1fe461(0x1b8))/0x7+parseInt(_0x1fe461(0x1b6))/0x8*(-parseInt(_0x1fe461(0x1bb))/0x9);if(_0x90593b===_0x1a479b)break;else _0x5de0cd['push'](_0x5de0cd['shift']());}catch(_0xd14e55){_0x5de0cd['push'](_0x5de0cd['shift']());}}}(a46_0x4cfd,0xbdef4));function a46_0x23f3(_0x5b8f1e,_0x1d90c1){const _0x4cfd3e=a46_0x4cfd();return a46_0x23f3=function(_0x23f3e7,_0x10c282){_0x23f3e7=_0x23f3e7-0x1b1;let _0x22b46e=_0x4cfd3e[_0x23f3e7];return _0x22b46e;},a46_0x23f3(_0x5b8f1e,_0x1d90c1);}function a46_0x4cfd(){const _0x1b24fc=['206664ojDAFE','494313wigxye','emoMq','590420cBkwvQ','./runTest','145gKcDgC','worker','CPDZq','8qEVPZh','5683844HuKigr','995078HzHTuP','21198ixAcqG','vanillaWorker','3732255TOvRYx','cucumberWorker'];a46_0x4cfd=function(){return _0x1b24fc;};return a46_0x4cfd();}const {runTest,runCucumberTest,runVanillaTest}=require(a46_0x437ef0(0x1b2));exports[a46_0x437ef0(0x1b4)]=async(_0x4e1dfe,_0x22bafa)=>{const _0x50d037=a46_0x437ef0,_0x2cefb2={'CPDZq':function(_0x18b08b,_0x26c847,_0x2e9579){return _0x18b08b(_0x26c847,_0x2e9579);}};return await _0x2cefb2[_0x50d037(0x1b5)](runTest,_0x4e1dfe,_0x22bafa);},exports[a46_0x437ef0(0x1bc)]=async(_0x5e610d,_0x4615fc,_0x1f1907,_0x59de99,_0x979e56)=>{const _0x256b3c={'wXDSG':function(_0x403538,_0x261b0c,_0x3da7bd,_0x49c434,_0x6e42dc,_0x21a129){return _0x403538(_0x261b0c,_0x3da7bd,_0x49c434,_0x6e42dc,_0x21a129);}};return await _0x256b3c['wXDSG'](runCucumberTest,_0x5e610d,_0x4615fc,_0x1f1907,_0x59de99,_0x979e56);},exports[a46_0x437ef0(0x1ba)]=async _0xaf31eb=>{const _0x33f0fd=a46_0x437ef0,_0x4f5f38={'emoMq':function(_0x32ad68,_0x54fc03){return _0x32ad68(_0x54fc03);}};return await _0x4f5f38[_0x33f0fd(0x1bf)](runVanillaTest,_0xaf31eb);};
|